Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.0009181/0.0009181, allocations: 105.6 kB / 17.32 MB, free: 6.023 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.001074/0.001075, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.456/1.456, allocations: 222.9 MB / 241.9 MB, free: 13.73 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.2445/0.2445, allocations: 44.17 MB / 336.2 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.53 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1574, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003931/0.1614, allocations: 1.753 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.163, allocations: 0.8614 MB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1631, allocations: 0 / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1635, allocations: 39.83 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.1638, allocations: 63.81 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1642, allocations: 91.83 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1644, allocations: 95.69 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1645, allocations: 16.22 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.1646, allocations: 47.72 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1647, allocations: 31.84 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1648, allocations: 4 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1649, allocations: 47.98 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.165, allocations: 27.91 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.979e-05/0.165, allocations: 55.55 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1653, allocations: 123.8 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1653, allocations: 4 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1653, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1653, allocations: 0 / 472.1 MB, free: 11.34 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.0005898/0.1659, allocations: 442.7 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.166, allocations: 8.031 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.166, allocations: 38.75 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1661, allocations: 8.844 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1663, allocations: 224.9 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1664, allocations: 384 / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1664, allocations: 7.938 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1665, allocations: 57.61 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1666, allocations: 3.938 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1666, allocations: 0 / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1666, allocations: 0 / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.351e-05/0.1667, allocations: 23.92 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.167, allocations: 300.9 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1672, allocations: 58.61 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.1673, allocations: 20.86 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1673, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.1675, allocations: 67.39 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1675, allocations: 0 / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005618/0.1681, allocations: 196.9 kB / 473.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1682, allocations: 55.41 kB / 473.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.1684, allocations: 279.7 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1685, allocations: 29.7 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.1685, allocations: 116.1 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1686, allocations: 23.66 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.1686, allocations: 21.7 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1688, allocations: 330.8 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.1689, allocations: 19.98 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.1689, allocations: 41.64 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.1691, allocations: 57.78 kB / 474.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1691, allocations: 0 / 474.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.1693, allocations: 113.4 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1693, allocations: 6.812 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1694, allocations: 4 kB / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1694, allocations: 0 / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.1695, allocations: 15.98 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1695, allocations: 0 / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.1695, allocations: 7.938 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1695, allocations: 12.03 kB / 474.6 MB, free: 8.562 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.0001146/0.1697, allocations: 133.8 kB / 474.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1697, allocations: 15.81 kB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1698, allocations: 21.39 kB / 474.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1698, allocations: 4 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1698, allocations: 0 / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1698, allocations: 7.922 kB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.1702, allocations: 399.5 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1703, allocations: 0 / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.1703, allocations: 15.94 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1703, allocations: 11.88 kB / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1703, allocations: 0 / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1703, allocations: 0 / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1703, allocations: 0 / 475.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1706, allocations: 220.1 kB / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.1707, allocations: 88.92 kB / 475.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1707, allocations: 3.938 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.1708, allocations: 4 kB / 475.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.1708, allocations: 8.359 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1709, allocations: 4 kB / 475.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.171, allocations: 205.5 kB / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.171, allocations: 0 / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1713, allocations: 27.98 kB / 475.8 MB, free: 7.312 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.001458/0.1728, allocations: 1.104 MB / 476.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.173, allocations: 59.91 kB / 476.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.173, allocations: 3.938 kB / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.1731, allocations: 35.97 kB / 477 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.1734, allocations: 19.98 kB / 477 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1755, allocations: 1.858 MB / 478.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1758, allocations: 0.7158 MB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.1759, allocations: 16.81 kB / 479.6 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.1759, allocations: 47.41 kB / 479.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1759, allocations: 4 kB / 479.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.1906, allocations: 3.595 MB / 483.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003385/0.1909, allocations: 233.8 kB / 483.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.025, allocations: 0 / 483.5 MB, free: 15.73 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches