Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 102.4 kB / 15.98 MB, free: 6.355 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.001636/0.001636, allocations: 189 kB / 16.9 MB, free: 6.191 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.875/1.875, allocations: 205.1 MB / 222.8 MB, free: 4.734 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.4096/0.4096, allocations: 43.49 MB / 313.6 MB, free: 8.453 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.001443/0.001443, allocations: 67.91 kB / 382.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1533, allocations: 57.79 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003542/0.1569, allocations: 1.664 MB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006313/0.1575, allocations: 343.5 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.1576, allocations: 4 kB / 442 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1579, allocations: 55.84 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1581, allocations: 51.83 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.1585, allocations: 147.8 kB / 442.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1587, allocations: 71.77 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.1589, allocations: 24.27 kB / 442.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.159, allocations: 35.89 kB / 442.4 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1591, allocations: 43.84 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.1591, allocations: 4 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.1592, allocations: 35.91 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.1592, allocations: 23.92 kB / 442.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.1593, allocations: 23.75 kB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1595, allocations: 95.7 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1595, allocations: 7.984 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1595, allocations: 0 / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1595, allocations: 0 / 442.6 MB, free: 12.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006357/0.1602, allocations: 399 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.1602, allocations: 15.89 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.1603, allocations: 8.844 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1606, allocations: 196.6 kB / 443.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1607, allocations: 8.375 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.1607, allocations: 3.938 kB / 443.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1609, allocations: 61.67 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.161, allocations: 0 / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.161, allocations: 4 kB / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.161, allocations: 0 / 443.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1612, allocations: 43.89 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.1618, allocations: 316.6 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.162, allocations: 46.56 kB / 443.7 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.1621, allocations: 24.94 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.1622, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1622, allocations: 30.56 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1622, allocations: 4 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001069/0.1633, allocations: 233 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.1634, allocations: 55.34 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1636, allocations: 182.3 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.1637, allocations: 33.7 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1638, allocations: 100.1 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.1638, allocations: 19.66 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.1639, allocations: 17.72 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002818/0.1642, allocations: 322.8 kB / 444.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1643, allocations: 43.91 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1644, allocations: 48.02 kB / 444.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1647, allocations: 84.8 kB / 444.9 MB, free: 9.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1647, allocations: 4 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003088/0.165, allocations: 113.5 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.1651, allocations: 8 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1651, allocations: 7.938 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1651, allocations: 0 / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1652, allocations: 23.91 kB / 445 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.1653, allocations: 7.938 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.1653, allocations: 4 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1653, allocations: 3.984 kB / 445 MB, free: 9.449 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 (7): * Single equations (assignments): 7 * 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.0003498/0.1657, allocations: 129.8 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.1658, allocations: 15.81 kB / 445.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.1662, allocations: 134.3 kB / 445.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1662, allocations: 0 / 445.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1662, allocations: 7.938 kB / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1662, allocations: 0 / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.1669, allocations: 410.4 kB / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.167, allocations: 0 / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.167, allocations: 24.25 kB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1671, allocations: 3.938 kB / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1671, allocations: 0 / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1671, allocations: 0 / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.1671, allocations: 4 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.1676, allocations: 231.8 kB / 446 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.1677, allocations: 88.95 kB / 446.1 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1678, allocations: 7.938 kB / 446.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.1679, allocations: 11.98 kB / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.1679, allocations: 0 / 446.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.168, allocations: 4 kB / 446.1 MB, free: 8.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1681, allocations: 143.2 kB / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1681, allocations: 0 / 446.2 MB, free: 8.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1684, allocations: 20 kB / 446.3 MB, free: 8.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 (7): * Single equations (assignments): 7 * 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.001152/0.1695, allocations: 401.5 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.1699, allocations: 95.84 kB / 446.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1699, allocations: 4 kB / 446.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.17, allocations: 43.97 kB / 446.8 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1704, allocations: 21.34 kB / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.171, allocations: 278.5 kB / 447.1 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1713, allocations: 0.7041 MB / 447.8 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.331e-05/0.1714, allocations: 19.98 kB / 447.8 MB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.1714, allocations: 19.44 kB / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1714, allocations: 0 / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of Templates: time 0.00443/0.1758, allocations: 1.222 MB / 449 MB, free: 5.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches