Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 99.8 kB / 16.27 MB, free: 5.93 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.001201/0.001201, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.756/1.756, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2397/0.2397, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.00181/0.00181, allocations: 67.91 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1485, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003838/0.1524, allocations: 1.543 MB / 442.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008758/0.1533, allocations: 315.5 kB / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.1535, allocations: 3.938 kB / 442.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.154, allocations: 71.83 kB / 442.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.1545, allocations: 71.69 kB / 442.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.155, allocations: 63.84 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.1553, allocations: 67.81 kB / 442.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.1555, allocations: 11.94 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1556, allocations: 31.89 kB / 442.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1557, allocations: 43.84 kB / 442.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.1558, allocations: 8 kB / 442.7 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.156, allocations: 28 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.1561, allocations: 19.91 kB / 442.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.1561, allocations: 27.75 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1564, allocations: 83.72 kB / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1564, allocations: 0 / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1565, allocations: 0 / 442.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.1565, allocations: 4 kB / 442.9 MB, free: 4.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007227/0.1572, allocations: 391.1 kB / 443.3 MB, free: 4.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.1573, allocations: 15.89 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.1574, allocations: 8.844 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.1576, allocations: 198.1 kB / 443.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1576, allocations: 4.375 kB / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.1577, allocations: 384 / 443.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1579, allocations: 53.75 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1579, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1579, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1579, allocations: 3.938 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.158, allocations: 23.98 kB / 443.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.1584, allocations: 280.8 kB / 443.9 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1586, allocations: 50.48 kB / 443.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.964e-05/0.1587, allocations: 16.86 kB / 443.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1587, allocations: 0 / 443.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.1588, allocations: 38.56 kB / 444 MB, free: 3.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1588, allocations: 0 / 444 MB, free: 3.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005983/0.1594, allocations: 141.3 kB / 444.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1594, allocations: 51.41 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1596, allocations: 194.1 kB / 444.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1596, allocations: 29.7 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.1596, allocations: 104 kB / 444.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1597, allocations: 11.81 kB / 444.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.1597, allocations: 21.66 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.1598, allocations: 322.8 kB / 444.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.1599, allocations: 19.98 kB / 444.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.1599, allocations: 19.98 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.16, allocations: 44.83 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1601, allocations: 4 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001623/0.1602, allocations: 81.52 kB / 445 MB, free: 2.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1603, allocations: 8 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1603, allocations: 0 / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1603, allocations: 0 / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.1604, allocations: 11.98 kB / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1604, allocations: 0 / 445 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.1604, allocations: 11.98 kB / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1604, allocations: 4.281 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.84e-05/0.1605, allocations: 125.7 kB / 445.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.1606, allocations: 7.906 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1608, allocations: 101.9 kB / 445.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1608, allocations: 320 / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1608, allocations: 4 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1608, allocations: 0 / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.1612, allocations: 358.4 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1612, allocations: 3.938 kB / 445.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.1613, allocations: 15.92 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1613, allocations: 4 kB / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1613, allocations: 0 / 445.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1613, allocations: 3.938 kB / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1613, allocations: 4 kB / 445.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1615, allocations: 179.3 kB / 445.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.1615, allocations: 85.02 kB / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1616, allocations: 0 / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.1616, allocations: 7.938 kB / 445.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1617, allocations: 3.984 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1617, allocations: 8 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.1618, allocations: 143.2 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1618, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1621, allocations: 15.98 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009355/0.163, allocations: 402.4 kB / 446.5 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1632, allocations: 47.95 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1633, allocations: 4 kB / 446.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.18e-05/0.1633, allocations: 31.86 kB / 446.5 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1638, allocations: 11.98 kB / 446.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.1643, allocations: 206 kB / 446.8 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1646, allocations: 0.6963 MB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.1647, allocations: 11.98 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.1647, allocations: 11.44 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1647, allocations: 0 / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Templates: time 0.004398/0.1691, allocations: 1.109 MB / 448.6 MB, free: 14.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches