Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001408/0.001409, allocations: 195 kB / 17.98 MB, free: 5.016 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.575/1.575, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2288/0.2288, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001528/0.001529, allocations: 70.69 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1467, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003244/0.15, allocations: 1.952 MB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1511, allocations: 0.7525 MB / 444.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1512, allocations: 7.938 kB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.1517, allocations: 271.2 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1521, allocations: 187.3 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1531, allocations: 0.5973 MB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.1534, allocations: 299.2 kB / 446 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1536, allocations: 76.7 kB / 446.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1537, allocations: 131.5 kB / 446.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.1539, allocations: 199.3 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.154, allocations: 12 kB / 446.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1541, allocations: 67.97 kB / 446.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1542, allocations: 91.67 kB / 446.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.1543, allocations: 115 kB / 446.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1546, allocations: 318.8 kB / 447 MB, free: 1.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1546, allocations: 0 / 447 MB, free: 1.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1546, allocations: 0 / 447 MB, free: 1.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1546, allocations: 0 / 447 MB, free: 1.102 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006073/0.1552, allocations: 0.6223 MB / 447.6 MB, free: 440 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1553, allocations: 11.89 kB / 447.6 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.1553, allocations: 44.38 kB / 447.7 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1556, allocations: 314.2 kB / 448 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1557, allocations: 4.375 kB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.1557, allocations: 16.38 kB / 448 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.156, allocations: 130.5 kB / 448.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.156, allocations: 4 kB / 448.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1561, allocations: 4 kB / 448.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1561, allocations: 4 kB / 448.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.1563, allocations: 91.92 kB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.157, allocations: 0.4886 MB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1572, allocations: 114.5 kB / 448.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.1573, allocations: 36.84 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.1574, allocations: 3.984 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1574, allocations: 38.56 kB / 448.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1574, allocations: 0 / 448.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001001/0.1584, allocations: 437.2 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.1585, allocations: 59.34 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.1591, allocations: 0.5211 MB / 449.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1592, allocations: 25.7 kB / 450 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.1593, allocations: 204.3 kB / 450.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.1594, allocations: 55.2 kB / 450.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.1595, allocations: 33.7 kB / 450.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.1598, allocations: 354.8 kB / 450.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.1599, allocations: 63.97 kB / 450.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1601, allocations: 69.05 kB / 450.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.1604, allocations: 163.7 kB / 450.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1604, allocations: 3.938 kB / 450.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004042/0.1608, allocations: 217.2 kB / 451.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.1609, allocations: 11.94 kB / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1609, allocations: 0 / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1609, allocations: 0 / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1611, allocations: 39.97 kB / 451.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1611, allocations: 3.938 kB / 451.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.1612, allocations: 7.906 kB / 451.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1612, allocations: 4 kB / 451.2 MB, free: 12.73 MB / 334.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 (17): * Single equations (assignments): 17 * 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.0002326/0.1614, allocations: 197.5 kB / 451.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.1615, allocations: 39.53 kB / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.1621, allocations: 269.3 kB / 451.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1621, allocations: 4 kB / 451.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1621, allocations: 0 / 451.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1621, allocations: 0 / 451.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009168/0.163, allocations: 0.6687 MB / 452.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.163, allocations: 0 / 452.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1632, allocations: 35.92 kB / 452.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1632, allocations: 4 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1632, allocations: 3.984 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1632, allocations: 4 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.1632, allocations: 7.938 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.1637, allocations: 326.9 kB / 452.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1638, allocations: 100.7 kB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1639, allocations: 4 kB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.658e-05/0.164, allocations: 7.984 kB / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.164, allocations: 11.92 kB / 452.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1641, allocations: 8 kB / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004289/0.1645, allocations: 395.1 kB / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 0 / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.1648, allocations: 55.89 kB / 453.3 MB, free: 10.52 MB / 334.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 (17): * Single equations (assignments): 17 * 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.00189/0.1667, allocations: 0.7063 MB / 454 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.1672, allocations: 163.8 kB / 454.1 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1672, allocations: 4 kB / 454.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1673, allocations: 87.89 kB / 454.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.1679, allocations: 71.48 kB / 454.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1691, allocations: 0.686 MB / 455 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1696, allocations: 0.8221 MB / 455.8 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1697, allocations: 49.91 kB / 455.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.1698, allocations: 31.44 kB / 455.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1698, allocations: 0 / 455.9 MB, free: 7.926 MB / 334.1 MB Notification: Performance of Templates: time 0.007697/0.1775, allocations: 3.26 MB / 459.1 MB, free: 4.668 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches