Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001168/0.001167, allocations: 101 kB / 16.26 MB, free: 5.98 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.001167/0.001167, allocations: 188.5 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2183/0.2183, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001665, allocations: 63.55 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1522, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003225/0.1555, allocations: 1.693 MB / 442.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1567, allocations: 0.8039 MB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.1568, allocations: 4 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.1572, allocations: 55.75 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1575, allocations: 55.75 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1577, allocations: 87.72 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.1579, allocations: 95.69 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.158, allocations: 20.16 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.1581, allocations: 39.8 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.1582, allocations: 27.84 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1582, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.1583, allocations: 39.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.1583, allocations: 23.92 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.347e-05/0.1584, allocations: 43.67 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1586, allocations: 131.5 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1586, allocations: 4 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1586, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1586, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.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.0004984/0.1591, allocations: 438.6 kB / 444.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1592, allocations: 11.89 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.1592, allocations: 38.73 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.1593, allocations: 16.75 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1595, allocations: 215.5 kB / 444.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1595, allocations: 12.38 kB / 444.5 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.1595, allocations: 3.938 kB / 444.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1597, allocations: 57.61 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1597, allocations: 3.984 kB / 444.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1597, allocations: 4 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.1597, allocations: 0 / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/0.1598, allocations: 15.98 kB / 444.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.1602, allocations: 304.8 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1603, allocations: 58.62 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.1604, allocations: 20.84 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1604, allocations: 4 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1606, allocations: 67.39 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1606, allocations: 7.938 kB / 445 MB, free: 2.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005349/0.1611, allocations: 177.1 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.1612, allocations: 55.41 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.1614, allocations: 259.7 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1614, allocations: 25.7 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.1615, allocations: 120 kB / 445.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1616, allocations: 19.66 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1616, allocations: 25.7 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.1617, allocations: 334.8 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.1617, allocations: 19.98 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.1618, allocations: 41.64 kB / 446.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.1619, allocations: 61.77 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1619, allocations: 0 / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001565/0.1621, allocations: 105.5 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1621, allocations: 4 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1621, allocations: 4 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1621, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.1622, allocations: 15.98 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1622, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.1623, allocations: 15.84 kB / 446.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1623, allocations: 4 kB / 446.3 MB, free: 0.9102 MB / 318.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 9.201e-05/0.1624, allocations: 137.7 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1624, allocations: 15.91 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.1625, allocations: 21.39 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1625, allocations: 0 / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1625, allocations: 0 / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1625, allocations: 7.938 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.1629, allocations: 407.2 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1629, allocations: 0 / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-05/0.1629, allocations: 8 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1629, allocations: 7.969 kB / 446.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.163, allocations: 0 / 446.9 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.163, allocations: 4 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.163, allocations: 0 / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1632, allocations: 204.1 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.1632, allocations: 89 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1633, allocations: 4.5 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.1634, allocations: 8 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1634, allocations: 15.92 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.1634, allocations: 8 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1636, allocations: 191.3 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1636, allocations: 4 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1639, allocations: 24 kB / 447.4 MB, free: 15.67 MB / 334.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.001747/0.1656, allocations: 1.109 MB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1659, allocations: 63.91 kB / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1659, allocations: 0 / 448.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.166, allocations: 24 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1664, allocations: 37.98 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1689, allocations: 1.799 MB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.1693, allocations: 0.7273 MB / 451.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.404e-05/0.1694, allocations: 16.88 kB / 451.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1695, allocations: 35.42 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1695, allocations: 4 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.1991, allocations: 3.628 MB / 454.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/8.031, allocations: 8 kB / 454.8 MB, free: 8.16 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches