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.007942/0.007942, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001388/0.001388, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.832/1.832, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4705/0.4705, allocations: 43.5 MB / 313.5 MB, free: 8.531 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.001837/0.001837, allocations: 63.91 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1626, allocations: 57.79 MB / 439.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.004049/0.1667, allocations: 1.622 MB / 441.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.1676, allocations: 311.6 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.238e-05/0.1677, allocations: 4 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1681, allocations: 67.84 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1683, allocations: 47.88 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1686, allocations: 67.86 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1688, allocations: 67.81 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.169, allocations: 11.98 kB / 442 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.1691, allocations: 23.92 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1692, allocations: 51.77 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1692, allocations: 4 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1693, allocations: 27.98 kB / 442.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.1694, allocations: 23.91 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.1695, allocations: 19.81 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1697, allocations: 80 kB / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1697, allocations: 0 / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1697, allocations: 0 / 442.2 MB, free: 12.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1697, allocations: 0 / 442.2 MB, free: 12.42 MB / 382.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.0005815/0.1703, allocations: 403.1 kB / 442.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.1704, allocations: 15.97 kB / 442.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.1704, allocations: 8.844 kB / 442.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1707, allocations: 196 kB / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1707, allocations: 384 / 442.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1707, allocations: 4.375 kB / 442.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1709, allocations: 49.8 kB / 442.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1709, allocations: 0 / 442.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1709, allocations: 0 / 442.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.1709, allocations: 4 kB / 442.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.701e-05/0.1711, allocations: 23.98 kB / 442.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.1715, allocations: 284.8 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1717, allocations: 38.56 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.1718, allocations: 20.94 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1719, allocations: 4 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1719, allocations: 30.56 kB / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1719, allocations: 0 / 443.3 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006179/0.1725, allocations: 141.5 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1726, allocations: 51.41 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.1728, allocations: 202 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1728, allocations: 29.7 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1729, allocations: 104 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.1729, allocations: 11.81 kB / 443.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.173, allocations: 13.72 kB / 443.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1732, allocations: 326.8 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.1732, allocations: 27.86 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/0.1733, allocations: 19.98 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1734, allocations: 49.02 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1734, allocations: 0 / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001893/0.1736, allocations: 81.58 kB / 444.3 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1737, allocations: 4 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1737, allocations: 0 / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1737, allocations: 4 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.1738, allocations: 11.98 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1738, allocations: 7.938 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.1738, allocations: 4 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1739, allocations: 0 / 444.4 MB, free: 10.07 MB / 382.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 0.0001086/0.174, allocations: 129.8 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.174, allocations: 7.906 kB / 444.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1743, allocations: 93.97 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1743, allocations: 4 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1743, allocations: 0 / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1743, allocations: 0 / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1748, allocations: 362.4 kB / 444.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1748, allocations: 0 / 444.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.1749, allocations: 11.98 kB / 445 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1749, allocations: 192 / 445 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1749, allocations: 4 kB / 445 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1749, allocations: 11.94 kB / 445 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1749, allocations: 0 / 445 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1752, allocations: 179.3 kB / 445.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.1752, allocations: 81.02 kB / 445.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1753, allocations: 7.984 kB / 445.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.1753, allocations: 3.938 kB / 445.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1754, allocations: 8 kB / 445.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1754, allocations: 3.984 kB / 445.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1755, allocations: 147.2 kB / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1756, allocations: 0 / 445.4 MB, free: 8.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1758, allocations: 16 kB / 445.4 MB, free: 8.91 MB / 382.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.001041/0.1769, allocations: 409.9 kB / 445.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1771, allocations: 47.97 kB / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1771, allocations: 0 / 445.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1772, allocations: 31.91 kB / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.1777, allocations: 13.42 kB / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.1782, allocations: 223.7 kB / 446.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1786, allocations: 0.7004 MB / 446.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.1787, allocations: 11.98 kB / 446.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.1787, allocations: 11.44 kB / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1787, allocations: 0 / 446.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of Templates: time 0.004332/0.1831, allocations: 1.05 MB / 447.9 MB, free: 6.398 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches