Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001046/0.001046, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.304/1.304, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2005/0.2005, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 65.08 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1611, allocations: 60.82 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.004206/0.1653, allocations: 1.556 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1664, allocations: 403.3 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.1665, allocations: 0 / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.1668, allocations: 19.86 kB / 471.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.1671, allocations: 31.84 kB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1674, allocations: 94.94 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1676, allocations: 55.86 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1678, allocations: 11.98 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.1678, allocations: 15.94 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.1679, allocations: 23.86 kB / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1679, allocations: 0 / 471.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.168, allocations: 35.97 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1681, allocations: 15.88 kB / 471.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1682, allocations: 19.86 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1684, allocations: 67.8 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1684, allocations: 7.938 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1684, allocations: 0 / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1684, allocations: 0 / 471.6 MB, free: 12.01 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.0006105/0.169, allocations: 371.6 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1691, allocations: 8.031 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1692, allocations: 8.844 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1695, allocations: 188.2 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1695, allocations: 384 / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.1696, allocations: 8.375 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1698, allocations: 57.69 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.1698, allocations: 3.906 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.1698, allocations: 4 kB / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1698, allocations: 0 / 472.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.17, allocations: 23.97 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.1704, allocations: 264.9 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1708, allocations: 62.47 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.1708, allocations: 16.86 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1709, allocations: 0 / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.1709, allocations: 34.56 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1709, allocations: 0 / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007635/0.1717, allocations: 137.4 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1718, allocations: 51.41 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.172, allocations: 150 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.172, allocations: 25.7 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.1721, allocations: 88.14 kB / 473.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1721, allocations: 19.8 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.1722, allocations: 13.72 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1723, allocations: 322.8 kB / 473.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.789e-05/0.1724, allocations: 19.98 kB / 473.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.1725, allocations: 19.98 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.1727, allocations: 48.77 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1727, allocations: 0 / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002383/0.173, allocations: 81.58 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.173, allocations: 4 kB / 473.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.173, allocations: 7.984 kB / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.173, allocations: 0 / 473.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.118e-05/0.1731, allocations: 8 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1731, allocations: 0 / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1732, allocations: 7.984 kB / 473.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1732, allocations: 0 / 473.6 MB, free: 9.766 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.0001295/0.1734, allocations: 125.7 kB / 473.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.1734, allocations: 7.906 kB / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.1737, allocations: 97.84 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1737, allocations: 0 / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1738, allocations: 3.938 kB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1738, allocations: 0 / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.1743, allocations: 354.7 kB / 474.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1744, allocations: 4 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.1744, allocations: 12 kB / 474.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1744, allocations: 0 / 474.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1745, allocations: 0 / 474.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1745, allocations: 3.938 kB / 474.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1745, allocations: 0 / 474.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.1748, allocations: 179.4 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.1749, allocations: 85.02 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.1749, allocations: 4 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.175, allocations: 11.92 kB / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.1751, allocations: 0 / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1751, allocations: 0 / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1752, allocations: 117.9 kB / 474.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1752, allocations: 0 / 474.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004011/0.1757, allocations: 20 kB / 474.6 MB, free: 8.656 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.001322/0.177, allocations: 411.9 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1773, allocations: 43.97 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1773, allocations: 0 / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1774, allocations: 27.92 kB / 475.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.1779, allocations: 16.14 kB / 475.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1784, allocations: 169.5 kB / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1788, allocations: 0.6885 MB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.1788, allocations: 11.98 kB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.1789, allocations: 19.42 kB / 476 MB, free: 7.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1789, allocations: 0 / 476 MB, free: 7.383 MB / 350.1 MB Notification: Performance of Templates: time 0.004819/0.1837, allocations: 1.077 MB / 477.1 MB, free: 6.316 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches