Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.001118/0.001118, 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.001309/0.00131, 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.511/1.511, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2398/0.2398, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 64.33 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1538, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003852/0.1577, allocations: 1.883 MB / 471.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1597, allocations: 0.986 MB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1599, allocations: 0 / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.1605, allocations: 227.4 kB / 472.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.161, allocations: 163.5 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.1616, allocations: 183.1 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.162, allocations: 239.3 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1622, allocations: 25.67 kB / 473.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.1624, allocations: 119.5 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1626, allocations: 155.5 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.1627, allocations: 8 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1629, allocations: 63.86 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.163, allocations: 55.83 kB / 473.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1632, allocations: 95.28 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.1636, allocations: 235.5 kB / 473.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1636, allocations: 0 / 473.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.1636, allocations: 0 / 473.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1636, allocations: 3.938 kB / 473.8 MB, free: 9.844 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009445/0.1646, allocations: 0.5448 MB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.1646, allocations: 8.031 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.1647, allocations: 42.75 kB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.1648, allocations: 28.64 kB / 474.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1652, allocations: 280.1 kB / 474.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1653, allocations: 4.375 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.1653, allocations: 11.94 kB / 474.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1656, allocations: 107.3 kB / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.1656, allocations: 3.906 kB / 474.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1657, allocations: 4 kB / 474.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.1657, allocations: 8 kB / 474.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.1659, allocations: 55.88 kB / 474.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.1665, allocations: 468.8 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.1669, allocations: 129.2 kB / 475.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.804e-05/0.167, allocations: 41.83 kB / 475.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.167, allocations: 4 kB / 475.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.1674, allocations: 121 kB / 475.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.1674, allocations: 0 / 475.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001437/0.1688, allocations: 492.8 kB / 476.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.1689, allocations: 89.05 kB / 476.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.1694, allocations: 424.5 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.1695, allocations: 29.7 kB / 476.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1696, allocations: 168.4 kB / 476.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.1697, allocations: 67.08 kB / 476.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.1698, allocations: 37.72 kB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1699, allocations: 350.8 kB / 477.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1701, allocations: 55.97 kB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1703, allocations: 95.28 kB / 477.4 MB, free: 5.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1706, allocations: 155.3 kB / 477.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1706, allocations: 0 / 477.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004177/0.171, allocations: 241.2 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.171, allocations: 4 kB / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.171, allocations: 0 / 477.8 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1711, allocations: 8.062 kB / 477.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1712, allocations: 43.91 kB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1712, allocations: 7.938 kB / 477.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1714, allocations: 8 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.1714, allocations: 8 kB / 477.8 MB, free: 5.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001674/0.1716, allocations: 165.8 kB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.1716, allocations: 39.5 kB / 478 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.895e-05/0.1717, allocations: 38.86 kB / 478.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1718, allocations: 11.98 kB / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1718, allocations: 0 / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1718, allocations: 0 / 478.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.1728, allocations: 0.7272 MB / 478.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1729, allocations: 0 / 478.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.717e-05/0.1729, allocations: 31.98 kB / 478.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.173, allocations: 4 kB / 478.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.173, allocations: 4 kB / 478.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.173, allocations: 3.984 kB / 478.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.173, allocations: 15.86 kB / 478.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.1735, allocations: 409.9 kB / 479.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.1735, allocations: 108.7 kB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1736, allocations: 4 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1738, allocations: 11.94 kB / 479.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.1738, allocations: 31.91 kB / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.1738, allocations: 12 kB / 479.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002709/0.1741, allocations: 319 kB / 479.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1741, allocations: 0 / 479.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1745, allocations: 48 kB / 479.8 MB, free: 3.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002018/0.1766, allocations: 1.362 MB / 481.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.177, allocations: 177 kB / 481.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.177, allocations: 4 kB / 481.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1771, allocations: 79.84 kB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1777, allocations: 63.61 kB / 481.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.1816, allocations: 2.83 MB / 484.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.182, allocations: 0.7792 MB / 485.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1821, allocations: 45.91 kB / 485.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.1823, allocations: 91.41 kB / 485.2 MB, free: 14 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1823, allocations: 0 / 485.2 MB, free: 14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.2092, allocations: 6.16 MB / 491.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.557, allocations: 12.17 kB / 491.4 MB, free: 7.918 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches