Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007243/0.0007242, allocations: 95.39 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008351/0.0008352, allocations: 175.5 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 223.3 MB / 242.3 MB, free: 14.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1765/0.1765, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002955, allocations: 14.03 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09297/0.09328, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001742/0.09505, allocations: 1.374 MB / 473.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.09628, allocations: 0.8265 MB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.09637, allocations: 0 / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.09663, allocations: 47.88 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.09682, allocations: 59.73 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.09708, allocations: 83.84 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.09724, allocations: 91.69 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.09729, allocations: 7.984 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/0.09737, allocations: 35.84 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.56e-05/0.09747, allocations: 47.72 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.09749, allocations: 4 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.737e-05/0.09757, allocations: 27.98 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.09762, allocations: 19.97 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.09768, allocations: 53.45 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.09784, allocations: 91.98 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.09785, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09785, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.09786, allocations: 0 / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004214/0.09829, allocations: 399 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.09833, allocations: 12.03 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.09838, allocations: 34.69 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.09841, allocations: 8.844 kB / 475.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.0986, allocations: 196.2 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.09862, allocations: 4.375 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.09864, allocations: 3.938 kB / 475.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.09877, allocations: 49.67 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.09879, allocations: 4 kB / 475.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.0988, allocations: 4 kB / 475.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.09881, allocations: 0 / 475.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.09888, allocations: 19.92 kB / 475.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.09906, allocations: 173.7 kB / 476 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.09923, allocations: 54.56 kB / 476.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.09929, allocations: 20.84 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.09932, allocations: 4 kB / 476.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.09949, allocations: 67.39 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.0995, allocations: 0 / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002616/0.09977, allocations: 93.7 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.09981, allocations: 51.41 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.09997, allocations: 181.8 kB / 476.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.09999, allocations: 29.7 kB / 476.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.1, allocations: 96.14 kB / 476.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1001, allocations: 7.812 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1001, allocations: 21.7 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.1002, allocations: 322.8 kB / 476.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.1003, allocations: 12 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.1003, allocations: 33.69 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.1004, allocations: 53.7 kB / 477 MB, free: 8.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1004, allocations: 7.938 kB / 477.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001468/0.1006, allocations: 81.47 kB / 477.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1006, allocations: 4 kB / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1006, allocations: 0 / 477.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1006, allocations: 4 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.1007, allocations: 8 kB / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1007, allocations: 0 / 477.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.977e-05/0.1008, allocations: 19.92 kB / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1008, allocations: 0 / 477.2 MB, free: 8.168 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/0.1009, allocations: 121.8 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.1009, allocations: 7.906 kB / 477.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.1009, allocations: 16.3 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.101, allocations: 0 / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.101, allocations: 7.984 kB / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.101, allocations: 0 / 477.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.1011, allocations: 181.5 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1011, allocations: 0 / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.225e-05/0.1011, allocations: 11.94 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1011, allocations: 0 / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1012, allocations: 7.984 kB / 477.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.1012, allocations: 4 kB / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1012, allocations: 0 / 477.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.1013, allocations: 105 kB / 477.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.1014, allocations: 85.02 kB / 477.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1014, allocations: 4.125 kB / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.1015, allocations: 8 kB / 477.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.1015, allocations: 7.984 kB / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1015, allocations: 0 / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.1016, allocations: 135.1 kB / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1016, allocations: 0 / 477.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1018, allocations: 15.98 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.103, allocations: 0.9623 MB / 478.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1031, allocations: 47.92 kB / 478.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1032, allocations: 0 / 478.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.1032, allocations: 16 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1035, allocations: 31.72 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.1048, allocations: 1.457 MB / 480.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1051, allocations: 0.6965 MB / 481.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1051, allocations: 16.55 kB / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.1052, allocations: 27.44 kB / 481.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1052, allocations: 0 / 481.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.1164, allocations: 2.588 MB / 483.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.1166, allocations: 234.3 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.701, allocations: 7.438 kB / 483.9 MB, free: 1.398 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches