Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001764/0.001764, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.17 MB / 336.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001236, allocations: 64.98 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.004526/0.1642, allocations: 1.621 MB / 470.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1666, allocations: 1.004 MB / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.1666, allocations: 0 / 471.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1669, allocations: 15.92 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1672, allocations: 35.84 kB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1676, allocations: 102.1 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1678, allocations: 55.84 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.168, allocations: 19.92 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.168, allocations: 11.94 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.1682, allocations: 27.84 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1683, allocations: 4 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1685, allocations: 51.97 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.1685, allocations: 7.938 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.1686, allocations: 27.84 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1689, allocations: 75.8 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.1689, allocations: 11.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1689, allocations: 0 / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1689, allocations: 0 / 471.6 MB, free: 11.75 MB / 350.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.0006124/0.1695, allocations: 371.6 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1696, allocations: 8.031 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.1697, allocations: 12.84 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1699, allocations: 192.2 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1699, allocations: 4.375 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.17, allocations: 384 / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1702, allocations: 71.45 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1702, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.1702, allocations: 4 kB / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1702, allocations: 0 / 472.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1704, allocations: 31.92 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.171, allocations: 272.9 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1713, allocations: 50.48 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.82e-05/0.1714, allocations: 12.86 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1714, allocations: 8 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1715, allocations: 34.64 kB / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.502e-06/0.1715, allocations: 0 / 472.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008299/0.1723, allocations: 141.3 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.1724, allocations: 85.05 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1726, allocations: 137.8 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1727, allocations: 25.7 kB / 473 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.1728, allocations: 92.12 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.1728, allocations: 19.75 kB / 473.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.1729, allocations: 17.72 kB / 473.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.173, allocations: 318.8 kB / 473.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.1732, allocations: 19.98 kB / 473.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1733, allocations: 41.7 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1735, allocations: 52.81 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1735, allocations: 4 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000268/0.1738, allocations: 85.77 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1738, allocations: 4 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1738, allocations: 0 / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1738, allocations: 0 / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.1739, allocations: 20.02 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1739, allocations: 0 / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.174, allocations: 8 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.174, allocations: 3.984 kB / 473.7 MB, free: 9.398 MB / 350.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.0001228/0.1742, allocations: 118.3 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.1742, allocations: 7.906 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.1746, allocations: 101.5 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1746, allocations: 4.281 kB / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1746, allocations: 0 / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.1746, allocations: 7.969 kB / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.1752, allocations: 350.5 kB / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.1753, allocations: 0 / 474.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.1753, allocations: 15.88 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1754, allocations: 0 / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1754, allocations: 4 kB / 474.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1754, allocations: 7.938 kB / 474.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1754, allocations: 3.984 kB / 474.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.1757, allocations: 175.4 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.1758, allocations: 85.09 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1758, allocations: 0 / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1759, allocations: 12.12 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.176, allocations: 3.984 kB / 474.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.176, allocations: 8 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.1761, allocations: 100.9 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1761, allocations: 0 / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.1766, allocations: 27.91 kB / 474.7 MB, free: 8.281 MB / 350.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.001472/0.1781, allocations: 444.6 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.1784, allocations: 59.95 kB / 475.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1784, allocations: 0 / 475.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1786, allocations: 23.98 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.1791, allocations: 19.92 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.1796, allocations: 175.3 kB / 475.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.18, allocations: 0.6887 MB / 476.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.495e-05/0.1801, allocations: 19.97 kB / 476.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1801, allocations: 19.42 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1801, allocations: 0 / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of Templates: time 0.005351/0.1855, allocations: 1.308 MB / 477.4 MB, free: 5.656 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches