Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.0012/0.0012, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001197/0.001197, allocations: 192 kB / 18.56 MB, free: 4.434 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.343/1.343, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2073/0.2073, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 62.23 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1508, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.005131/0.156, allocations: 1.912 MB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1582, allocations: 0.9236 MB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.1584, allocations: 0 / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.1589, allocations: 35.7 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1593, allocations: 63.64 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.1598, allocations: 127.4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.1602, allocations: 147.5 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1603, allocations: 25.48 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1605, allocations: 55.72 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1607, allocations: 47.72 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.1607, allocations: 8 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1609, allocations: 43.98 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.161, allocations: 27.91 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.1611, allocations: 51.67 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1615, allocations: 151.7 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1615, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1615, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1615, allocations: 0 / 473 MB, free: 10.63 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000926/0.1625, allocations: 479.6 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1625, allocations: 8.031 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.1626, allocations: 38.75 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1627, allocations: 16.75 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.163, allocations: 231.9 kB / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1631, allocations: 384 / 473.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1631, allocations: 19.92 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.1634, allocations: 100.9 kB / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1634, allocations: 0 / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1635, allocations: 4 kB / 473.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1635, allocations: 4 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.1637, allocations: 51.91 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.1645, allocations: 0.5087 MB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.165, allocations: 86.67 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.1651, allocations: 36.83 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1652, allocations: 4 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003123/0.1655, allocations: 91.25 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.1655, allocations: 0 / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005355/0.166, allocations: 149.6 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1661, allocations: 51.5 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1664, allocations: 191.4 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1664, allocations: 29.7 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.1665, allocations: 116 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.1665, allocations: 27.61 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.1666, allocations: 33.7 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1668, allocations: 322.8 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1669, allocations: 27.98 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.167, allocations: 64.27 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.1673, allocations: 96.16 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1673, allocations: 4 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003931/0.1677, allocations: 137.5 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1678, allocations: 8 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1678, allocations: 0 / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1678, allocations: 7.938 kB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.168, allocations: 19.98 kB / 475.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.168, allocations: 8 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1681, allocations: 15.86 kB / 475.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1681, allocations: 4 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001347/0.1683, allocations: 121.8 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1683, allocations: 19.81 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.1684, allocations: 21.39 kB / 476.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1684, allocations: 3.938 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1684, allocations: 4 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1684, allocations: 0 / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1687, allocations: 209.6 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1687, allocations: 0 / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.976e-05/0.1688, allocations: 12.08 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1688, allocations: 3.938 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1688, allocations: 4 kB / 476.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1688, allocations: 11.88 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1689, allocations: 0 / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.1694, allocations: 176.8 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.1695, allocations: 100.8 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1695, allocations: 4 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.1696, allocations: 7.938 kB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1697, allocations: 12.05 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1697, allocations: 7.984 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1699, allocations: 137.2 kB / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1699, allocations: 0 / 476.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004232/0.1703, allocations: 28.12 kB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002037/0.1723, allocations: 1.024 MB / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.1727, allocations: 87.83 kB / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1727, allocations: 0 / 477.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1729, allocations: 31.98 kB / 477.9 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.1733, allocations: 44.47 kB / 478 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.1761, allocations: 1.741 MB / 479.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1765, allocations: 0.7123 MB / 480.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.895e-05/0.1766, allocations: 17.42 kB / 480.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.1767, allocations: 39.42 kB / 480.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1767, allocations: 0 / 480.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2024, allocations: 3.681 MB / 484.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.493/7.695, allocations: 19.38 kB / 484.2 MB, free: 15.13 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches