Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 83.12 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1513, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.005256/0.1566, allocations: 1.736 MB / 481.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1588, allocations: 1.025 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.159, allocations: 0 / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.1595, allocations: 79.7 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.1601, allocations: 115.5 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1605, allocations: 83.66 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.1607, allocations: 111.7 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1609, allocations: 11.98 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.161, allocations: 51.78 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1611, allocations: 63.75 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1611, allocations: 4 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1613, allocations: 43.98 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.1614, allocations: 23.91 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.1614, allocations: 35.69 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1616, allocations: 131.8 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1617, allocations: 0 / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1617, allocations: 0 / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1617, allocations: 4 kB / 483.6 MB, free: 1.645 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.0005722/0.1623, allocations: 422.9 kB / 484 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1623, allocations: 8.031 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.1624, allocations: 30.75 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1624, allocations: 20.75 kB / 484.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1627, allocations: 216 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1627, allocations: 384 / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1627, allocations: 7.938 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1629, allocations: 65.55 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1629, allocations: 3.984 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1629, allocations: 0 / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1629, allocations: 0 / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.163, allocations: 23.98 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1634, allocations: 284.9 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1636, allocations: 66.61 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1636, allocations: 16.86 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1637, allocations: 0 / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1639, allocations: 71.33 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1639, allocations: 0 / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005902/0.1645, allocations: 181 kB / 485 MB, free: 76 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1645, allocations: 55.41 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1648, allocations: 228.2 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1648, allocations: 29.7 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.1649, allocations: 108.1 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.165, allocations: 27.62 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.165, allocations: 21.72 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1652, allocations: 322.8 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.1652, allocations: 27.92 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.1653, allocations: 37.7 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1654, allocations: 57.72 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1654, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1656, allocations: 101.4 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1657, allocations: 8 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1657, allocations: 0 / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1657, allocations: 4.031 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.1658, allocations: 15.98 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1658, allocations: 4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.1659, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1659, allocations: 4 kB / 486.1 MB, free: 14.97 MB / 366.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.000109/0.166, allocations: 136.3 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.166, allocations: 7.906 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.1661, allocations: 17.41 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1661, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1661, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1661, allocations: 11.86 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.1665, allocations: 399.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1665, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.776e-05/0.1666, allocations: 11.98 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1666, allocations: 3.938 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1666, allocations: 0 / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1666, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1666, allocations: 4.031 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1669, allocations: 204.2 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.1669, allocations: 89.11 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1669, allocations: 7.938 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.167, allocations: 16.3 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1671, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1671, allocations: 12 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1672, allocations: 165.2 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 4 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1675, allocations: 20 kB / 487.2 MB, free: 13.77 MB / 366.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.001445/0.1689, allocations: 1.096 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.1691, allocations: 63.92 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1691, allocations: 64 / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.1692, allocations: 31.98 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1696, allocations: 31.59 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1713, allocations: 1.701 MB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1716, allocations: 0.7157 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.214e-05/0.1717, allocations: 25.17 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1718, allocations: 39.42 kB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1718, allocations: 0 / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.1922, allocations: 3.478 MB / 494.3 MB, free: 6.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.119, allocations: 3.938 kB / 494.3 MB, free: 6.676 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches