Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001631/0.001631, allocations: 107.2 kB / 16.27 MB, free: 6.41 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.001865/0.001865, allocations: 191.1 kB / 17.2 MB, free: 5.953 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.551/1.551, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.273/0.273, allocations: 43.51 MB / 313.9 MB, free: 0.5312 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.00211/0.00211, allocations: 67.36 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1601, allocations: 57.8 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003021/0.1632, allocations: 1.686 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1648, allocations: 1.398 MB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.1649, allocations: 4 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1652, allocations: 39.77 kB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1654, allocations: 55.75 kB / 443.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1656, allocations: 87.7 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1658, allocations: 99.69 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.1659, allocations: 20.16 kB / 444 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.166, allocations: 43.78 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1661, allocations: 47.84 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1662, allocations: 4 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1663, allocations: 63.97 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.1663, allocations: 19.91 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1664, allocations: 39.73 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1666, allocations: 127.7 kB / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1666, allocations: 0 / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1666, allocations: 0 / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1666, allocations: 0 / 444.4 MB, free: 3.035 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004959/0.1671, allocations: 426.2 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1672, allocations: 15.89 kB / 444.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.1672, allocations: 30.75 kB / 444.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1673, allocations: 8.844 kB / 444.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1675, allocations: 212.4 kB / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1675, allocations: 8 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1675, allocations: 3.938 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1677, allocations: 79.36 kB / 445.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1677, allocations: 4 kB / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1677, allocations: 0 / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1677, allocations: 0 / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.112e-05/0.1678, allocations: 31.97 kB / 445.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.1681, allocations: 296.7 kB / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1683, allocations: 70.61 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.813e-05/0.1684, allocations: 32.84 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.1684, allocations: 4 kB / 445.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.1686, allocations: 75.31 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1686, allocations: 0 / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005759/0.1692, allocations: 193.2 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.1693, allocations: 89.05 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1694, allocations: 155 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1694, allocations: 33.64 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.1694, allocations: 96.14 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.1695, allocations: 35.61 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.1695, allocations: 25.7 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.1696, allocations: 318.8 kB / 446.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.1696, allocations: 27.98 kB / 446.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1697, allocations: 46.56 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1698, allocations: 73.64 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1698, allocations: 0 / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001749/0.17, allocations: 109.5 kB / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.17, allocations: 4 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.17, allocations: 3.938 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1701, allocations: 8.062 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.1702, allocations: 15.98 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1702, allocations: 4 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1702, allocations: 4 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1702, allocations: 4 kB / 446.9 MB, free: 288 kB / 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 (11): * Single equations (assignments): 11 * 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 7.276e-05/0.1703, allocations: 129.9 kB / 447 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1703, allocations: 7.906 kB / 447 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.1704, allocations: 24.59 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1704, allocations: 0 / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1704, allocations: 8 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1704, allocations: 0 / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.1709, allocations: 415.1 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1709, allocations: 0 / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.1709, allocations: 12 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.171, allocations: 0 / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.171, allocations: 0 / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.171, allocations: 7.984 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.171, allocations: 7.969 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.1713, allocations: 216.2 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1714, allocations: 85 kB / 447.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.1714, allocations: 4 kB / 447.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1715, allocations: 3.984 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1715, allocations: 8 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1716, allocations: 12 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1717, allocations: 123.9 kB / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1717, allocations: 0 / 447.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.172, allocations: 35.98 kB / 447.9 MB, free: 15.09 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 (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.001682/0.1736, allocations: 1.149 MB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1739, allocations: 71.91 kB / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1739, allocations: 0 / 449.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.174, allocations: 31.98 kB / 449.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.1743, allocations: 33.95 kB / 449.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1762, allocations: 1.618 MB / 450.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1765, allocations: 0.6924 MB / 451.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.229e-05/0.1766, allocations: 24.94 kB / 451.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.1767, allocations: 39.41 kB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1767, allocations: 0 / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.2006, allocations: 3.619 MB / 455.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.852, allocations: 19.73 kB / 455.2 MB, free: 7.703 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches