Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 176 kB / 16.91 MB, free: 6.684 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.918/1.918, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.4804/0.4804, allocations: 43.57 MB / 315 MB, free: 9.047 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.0005643/0.0005643, allocations: 20.61 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1685, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002259/0.1708, allocations: 1.291 MB / 444.7 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006656/0.1715, allocations: 303.6 kB / 445 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.1715, allocations: 0 / 445 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.1718, allocations: 27.91 kB / 445.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.1719, allocations: 35.89 kB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1721, allocations: 67.86 kB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1722, allocations: 63.84 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.1723, allocations: 28.36 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1724, allocations: 19.88 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.1725, allocations: 31.84 kB / 445.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1725, allocations: 0 / 445.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.62e-05/0.1726, allocations: 31.98 kB / 445.3 MB, free: 11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.1726, allocations: 11.92 kB / 445.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1727, allocations: 45.58 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1728, allocations: 87.64 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1729, allocations: 0 / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1729, allocations: 0 / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1729, allocations: 0 / 445.5 MB, free: 10.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004642/0.1733, allocations: 379.2 kB / 445.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1734, allocations: 8.031 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.1734, allocations: 16.83 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1736, allocations: 188.2 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1736, allocations: 384 / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1737, allocations: 4.375 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1738, allocations: 61.61 kB / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1738, allocations: 0 / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1738, allocations: 0 / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1739, allocations: 3.938 kB / 446.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.174, allocations: 47.91 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.1744, allocations: 292.7 kB / 446.5 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1745, allocations: 54.55 kB / 446.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.1746, allocations: 28.97 kB / 446.5 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1746, allocations: 7.938 kB / 446.5 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1746, allocations: 34.56 kB / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1746, allocations: 0 / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006391/0.1753, allocations: 193.3 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1753, allocations: 55.41 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1755, allocations: 157.2 kB / 447 MB, free: 9.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1755, allocations: 25.7 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.1756, allocations: 99.98 kB / 447.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1756, allocations: 27.7 kB / 447.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1757, allocations: 13.72 kB / 447.1 MB, free: 8.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1758, allocations: 322.8 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.1759, allocations: 23.98 kB / 447.5 MB, free: 8.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.1759, allocations: 28.06 kB / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.1761, allocations: 72.81 kB / 447.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1761, allocations: 4 kB / 447.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001989/0.1763, allocations: 109.7 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1763, allocations: 11.98 kB / 447.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1763, allocations: 3.938 kB / 447.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1764, allocations: 0 / 447.7 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.1765, allocations: 16 kB / 447.7 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1765, allocations: 7.922 kB / 447.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.224e-05/0.1765, allocations: 11.94 kB / 447.7 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1765, allocations: 0 / 447.7 MB, free: 8.371 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 (8): * Single equations (assignments): 8 * 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 8.996e-05/0.1766, allocations: 129.8 kB / 447.9 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1767, allocations: 11.89 kB / 447.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1769, allocations: 118.2 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.177, allocations: 4 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.177, allocations: 3.938 kB / 448 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.177, allocations: 3.984 kB / 448 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.1774, allocations: 390.5 kB / 448.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1774, allocations: 3.938 kB / 448.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.1775, allocations: 16 kB / 448.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1775, allocations: 7.938 kB / 448.4 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1775, allocations: 3.984 kB / 448.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1775, allocations: 4 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1775, allocations: 0 / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1778, allocations: 207.4 kB / 448.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1779, allocations: 88.95 kB / 448.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1779, allocations: 0 / 448.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.502e-05/0.1779, allocations: 8.312 kB / 448.7 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.178, allocations: 11.98 kB / 448.7 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.178, allocations: 4 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.1781, allocations: 115.2 kB / 448.8 MB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1781, allocations: 0 / 448.8 MB, free: 7.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1783, allocations: 20 kB / 448.9 MB, free: 7.137 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 (8): * Single equations (assignments): 8 * 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.0009214/0.1792, allocations: 405.4 kB / 449.3 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1795, allocations: 67.95 kB / 449.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1795, allocations: 4 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/0.1796, allocations: 47.86 kB / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.18, allocations: 15.98 kB / 449.4 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.1804, allocations: 221 kB / 449.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.1808, allocations: 0.7004 MB / 450.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.1808, allocations: 12.97 kB / 450.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.1809, allocations: 19.42 kB / 450.3 MB, free: 5.637 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1809, allocations: 0 / 450.3 MB, free: 5.637 MB / 382.1 MB Notification: Performance of Templates: time 0.003866/0.1848, allocations: 1.112 MB / 451.5 MB, free: 4.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches