Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.001299/0.001298, allocations: 107.6 kB / 17.32 MB, free: 6.039 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.001688/0.001689, allocations: 193.3 kB / 18.25 MB, free: 5.137 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.399/1.399, allocations: 222.9 MB / 241.9 MB, free: 13.71 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.2307/0.2307, allocations: 44.18 MB / 336.2 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 69.17 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1498, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003263/0.1531, allocations: 1.769 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1551, allocations: 1.448 MB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.421e-05/0.1552, allocations: 0 / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1555, allocations: 43.89 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1558, allocations: 47.83 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.1561, allocations: 94.64 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1563, allocations: 99.69 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1564, allocations: 12.23 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.1565, allocations: 39.8 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1567, allocations: 43.77 kB / 472.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1567, allocations: 8 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1569, allocations: 63.95 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.157, allocations: 11.94 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.157, allocations: 35.8 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1572, allocations: 123.9 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1573, allocations: 3.938 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1573, allocations: 0 / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1573, allocations: 0 / 472.7 MB, free: 10.77 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005421/0.1578, allocations: 399.1 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1579, allocations: 12.03 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.1579, allocations: 42.73 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.158, allocations: 8.844 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1582, allocations: 196.1 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1582, allocations: 8.359 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.1582, allocations: 7.938 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1584, allocations: 67.39 kB / 473.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1584, allocations: 3.938 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1585, allocations: 4 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1585, allocations: 0 / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.1586, allocations: 19.98 kB / 473.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.1589, allocations: 280.9 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1591, allocations: 58.61 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.1592, allocations: 28.8 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1592, allocations: 0 / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.1594, allocations: 63.39 kB / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.1595, allocations: 0 / 473.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005611/0.16, allocations: 177.1 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1601, allocations: 81.11 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1602, allocations: 157.8 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1603, allocations: 29.7 kB / 474.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.1603, allocations: 88.14 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1604, allocations: 27.64 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1604, allocations: 25.66 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1605, allocations: 326.8 kB / 474.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.1606, allocations: 19.98 kB / 474.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.1607, allocations: 46.5 kB / 474.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1608, allocations: 62.08 kB / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1608, allocations: 0 / 474.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.161, allocations: 97.52 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.161, allocations: 4 kB / 475 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1611, allocations: 8 kB / 475 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1611, allocations: 0 / 475 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1612, allocations: 16.05 kB / 475 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1612, allocations: 4 kB / 475 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.1613, allocations: 11.94 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1613, allocations: 4 kB / 475 MB, free: 8.172 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 (10): * Single equations (assignments): 10 * 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 0.0001058/0.1614, allocations: 125.8 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1614, allocations: 7.906 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.1615, allocations: 12.72 kB / 475.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1615, allocations: 4 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1615, allocations: 0 / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1615, allocations: 7.938 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.162, allocations: 387.3 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.162, allocations: 0 / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.162, allocations: 8 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.162, allocations: 3.938 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.162, allocations: 0 / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.162, allocations: 4.234 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.162, allocations: 3.938 kB / 475.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1623, allocations: 216.2 kB / 475.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1623, allocations: 81.02 kB / 475.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1624, allocations: 15.88 kB / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.1624, allocations: 0 / 475.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1625, allocations: 7.984 kB / 475.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1625, allocations: 4 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.1626, allocations: 121.7 kB / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1626, allocations: 0 / 476 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1629, allocations: 32 kB / 476 MB, free: 7.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001491/0.1644, allocations: 1.133 MB / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.1646, allocations: 67.97 kB / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1646, allocations: 0 / 477.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.778e-05/0.1647, allocations: 24.09 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1651, allocations: 44.03 kB / 477.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1668, allocations: 1.552 MB / 478.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.167, allocations: 0.7002 MB / 479.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.1671, allocations: 12.89 kB / 479.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.1672, allocations: 35.41 kB / 479.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1672, allocations: 0 / 479.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.1863, allocations: 3.386 MB / 483 MB, free: 260 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.1866, allocations: 244 kB / 483.2 MB, free: 0 / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.022, allocations: 256 / 483.2 MB, free: 0 / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches