Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.001101/0.001101, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001158/0.001158, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2185/0.2185, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 73.05 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1521, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.005072/0.1572, allocations: 1.7 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.1594, allocations: 0.8808 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1595, allocations: 3.938 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.16, allocations: 39.83 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1604, allocations: 55.7 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1609, allocations: 111.6 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1611, allocations: 95.7 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1613, allocations: 4.234 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.1614, allocations: 51.77 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.1615, allocations: 31.8 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.1616, allocations: 7.938 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1617, allocations: 43.97 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.1618, allocations: 19.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.1618, allocations: 35.73 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1621, allocations: 111.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1621, allocations: 4 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1621, allocations: 0 / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1621, allocations: 0 / 472.6 MB, free: 11.06 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.0005335/0.1626, allocations: 422.8 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1627, allocations: 8.031 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1627, allocations: 38.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1628, allocations: 8.844 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.163, allocations: 214.7 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1631, allocations: 384 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1631, allocations: 11.94 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.1633, allocations: 53.67 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1633, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1633, allocations: 4 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1633, allocations: 0 / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.1634, allocations: 23.92 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.1638, allocations: 288.8 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.164, allocations: 54.69 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.1641, allocations: 24.84 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1641, allocations: 4 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1644, allocations: 67.33 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1644, allocations: 0 / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006241/0.165, allocations: 173.1 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1651, allocations: 55.41 kB / 474 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1653, allocations: 207.3 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1653, allocations: 25.7 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.1654, allocations: 104.1 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1654, allocations: 23.7 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1655, allocations: 25.7 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1656, allocations: 322.8 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.1657, allocations: 20 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.1658, allocations: 37.7 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1659, allocations: 61.83 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1659, allocations: 0 / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.1661, allocations: 105.4 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1662, allocations: 7.984 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1662, allocations: 4 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1662, allocations: 0 / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.1663, allocations: 15.94 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1663, allocations: 4.031 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.1664, allocations: 7.938 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1664, allocations: 12.36 kB / 474.9 MB, free: 8.426 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.0001185/0.1665, allocations: 124.7 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1666, allocations: 11.91 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.1666, allocations: 17.39 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1666, allocations: 0 / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1666, allocations: 4 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1666, allocations: 3.938 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1671, allocations: 395.3 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1671, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.1672, allocations: 15.92 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1672, allocations: 3.938 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1672, allocations: 8 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1672, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1672, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1675, allocations: 204.2 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.1675, allocations: 89 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1676, allocations: 11.94 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1676, allocations: 3.984 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.1677, allocations: 4 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.1677, allocations: 7.938 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1678, allocations: 155.9 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1679, allocations: 0 / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1681, allocations: 27.98 kB / 476 MB, free: 7.258 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.001475/0.1696, allocations: 1.089 MB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.1698, allocations: 63.91 kB / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1698, allocations: 0 / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.1699, allocations: 31.92 kB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1702, allocations: 28.05 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1721, allocations: 1.656 MB / 478.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1725, allocations: 0.7041 MB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.508e-05/0.1726, allocations: 21.17 kB / 479.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.1727, allocations: 35.42 kB / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1727, allocations: 0 / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.1938, allocations: 3.339 MB / 483 MB, free: 424 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.604, allocations: 14.89 kB / 483 MB, free: 412 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches