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.001413/0.001413, 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.001379/0.001379, 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.465/1.465, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2399/0.2399, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.78 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1498, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004988/0.1549, allocations: 1.912 MB / 471.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1574, allocations: 0.9236 MB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.1578, allocations: 0 / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.1584, allocations: 39.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.159, allocations: 63.62 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.1597, allocations: 126.9 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.1601, allocations: 139.5 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.1604, allocations: 29.48 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1606, allocations: 59.7 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1607, allocations: 43.72 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.1608, allocations: 12 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.161, allocations: 47.97 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1611, allocations: 23.92 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1612, allocations: 47.67 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.1617, allocations: 155.7 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1617, allocations: 0 / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.24e-06/0.1617, allocations: 0 / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1617, allocations: 3.938 kB / 473 MB, free: 10.64 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.001113/0.1629, allocations: 480.5 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.1629, allocations: 8.031 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.835e-05/0.163, allocations: 38.75 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.1631, allocations: 12.75 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.1635, allocations: 223.9 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.1636, allocations: 4.375 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.1636, allocations: 11.94 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.164, allocations: 108.2 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.164, allocations: 0 / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1641, allocations: 4 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1641, allocations: 4 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1643, allocations: 47.91 kB / 473.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009051/0.1652, allocations: 0.5126 MB / 474.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.1656, allocations: 78.67 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1658, allocations: 48.77 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1658, allocations: 4 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.1662, allocations: 83.31 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.1662, allocations: 0 / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004688/0.1667, allocations: 145.3 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1667, allocations: 55.41 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1669, allocations: 187.5 kB / 475 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.167, allocations: 33.7 kB / 475 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1671, allocations: 116 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.1671, allocations: 27.61 kB / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.1672, allocations: 25.72 kB / 475.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1673, allocations: 326.8 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.1674, allocations: 27.98 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1676, allocations: 68.64 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1678, allocations: 96.09 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1678, allocations: 0 / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003453/0.1681, allocations: 141.3 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1682, allocations: 8 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1682, allocations: 0 / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.1682, allocations: 7.938 kB / 475.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1683, allocations: 19.98 kB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1683, allocations: 4 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.1684, allocations: 11.92 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1684, allocations: 16.06 kB / 475.9 MB, free: 7.418 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.0001238/0.1686, allocations: 117.8 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1686, allocations: 19.81 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.1687, allocations: 17.39 kB / 476.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.1687, allocations: 7.922 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1687, allocations: 0 / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1687, allocations: 4 kB / 476.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1689, allocations: 205.6 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1689, allocations: 8 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-05/0.169, allocations: 15.98 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.169, allocations: 0 / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1691, allocations: 4 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1691, allocations: 3.938 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1691, allocations: 7.875 kB / 476.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.1695, allocations: 180.9 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.1695, allocations: 100.9 kB / 476.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1696, allocations: 4 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.1696, allocations: 7.938 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.1697, allocations: 7.984 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1697, allocations: 8 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1699, allocations: 137.2 kB / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1699, allocations: 0 / 476.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1702, allocations: 28.12 kB / 476.8 MB, free: 6.457 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.001673/0.1718, allocations: 1.02 MB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.1721, allocations: 83.83 kB / 477.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1722, allocations: 256 / 477.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1723, allocations: 39.98 kB / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1727, allocations: 41.97 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.1754, allocations: 1.741 MB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1758, allocations: 0.7084 MB / 480.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.176, allocations: 25.41 kB / 480.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.1761, allocations: 47.36 kB / 480.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1761, allocations: 0 / 480.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.2012, allocations: 3.675 MB / 484.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.772, allocations: 15.38 kB / 484.2 MB, free: 15.15 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.csv","/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