Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108.9 kB / 17.04 MB, free: 5.812 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.001193/0.001193, allocations: 196 kB / 17.97 MB, free: 5.02 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.595/1.595, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2355/0.2355, allocations: 43.51 MB / 314.7 MB, free: 484 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.002507/0.002508, allocations: 74.69 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1506, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004396/0.155, allocations: 1.961 MB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1563, allocations: 0.7563 MB / 444.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1564, allocations: 4 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.1569, allocations: 259.2 kB / 444.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1573, allocations: 195.3 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1584, allocations: 0.6017 MB / 445.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.1588, allocations: 299.2 kB / 446 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.159, allocations: 72.72 kB / 446.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1592, allocations: 135.5 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1594, allocations: 199.4 kB / 446.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.1594, allocations: 8 kB / 446.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1596, allocations: 71.91 kB / 446.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1597, allocations: 95.67 kB / 446.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.1598, allocations: 115 kB / 446.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1601, allocations: 306.9 kB / 447 MB, free: 1.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1601, allocations: 4 kB / 447 MB, free: 1.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1601, allocations: 3.938 kB / 447 MB, free: 1.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1602, allocations: 0 / 447 MB, free: 1.098 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.0007244/0.1609, allocations: 0.6223 MB / 447.6 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.161, allocations: 11.89 kB / 447.7 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.161, allocations: 44.38 kB / 447.7 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1614, allocations: 306.3 kB / 448 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1614, allocations: 8.375 kB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1614, allocations: 16.31 kB / 448 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.1617, allocations: 138.6 kB / 448.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1618, allocations: 0 / 448.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1618, allocations: 4 kB / 448.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1618, allocations: 4 kB / 448.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.162, allocations: 87.92 kB / 448.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.1627, allocations: 0.4885 MB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1629, allocations: 114.5 kB / 448.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.163, allocations: 40.84 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.1631, allocations: 0 / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1631, allocations: 34.56 kB / 448.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.354e-06/0.1631, allocations: 3.984 kB / 448.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001041/0.1642, allocations: 439.9 kB / 449.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.1642, allocations: 55.41 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.1648, allocations: 0.5211 MB / 449.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1649, allocations: 29.7 kB / 450 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.165, allocations: 200.3 kB / 450.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.1651, allocations: 59.19 kB / 450.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.1652, allocations: 29.72 kB / 450.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1654, allocations: 354.8 kB / 450.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1656, allocations: 67.89 kB / 450.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1657, allocations: 69.05 kB / 450.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.166, allocations: 155.5 kB / 450.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.166, 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.0003745/0.1664, allocations: 225.1 kB / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1664, allocations: 8 kB / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1665, allocations: 0 / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1665, allocations: 0 / 451.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1666, allocations: 43.91 kB / 451.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1667, allocations: 0 / 451.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.532e-05/0.1667, allocations: 11.91 kB / 451.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.1668, allocations: 7.938 kB / 451.2 MB, free: 12.72 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.0002082/0.167, allocations: 189.6 kB / 451.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.1671, allocations: 35.53 kB / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.1676, allocations: 273.3 kB / 451.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1676, allocations: 7.984 kB / 451.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1676, allocations: 0 / 451.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1676, allocations: 0 / 451.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/0.1686, allocations: 0.6689 MB / 452.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1686, allocations: 0 / 452.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.1688, allocations: 35.98 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1688, allocations: 0 / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1688, allocations: 4 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/0.1688, allocations: 4 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1688, allocations: 7.875 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.1693, allocations: 322.9 kB / 452.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.1694, allocations: 104.7 kB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.1694, allocations: 4 kB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1695, allocations: 12 kB / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.1696, allocations: 15.92 kB / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1696, allocations: 7.984 kB / 452.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003843/0.17, allocations: 391.1 kB / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.17, allocations: 0 / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.1703, allocations: 55.89 kB / 453.3 MB, free: 10.51 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.001798/0.1721, allocations: 0.6996 MB / 454 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003985/0.1726, allocations: 163.8 kB / 454.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1726, allocations: 0 / 454.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1727, allocations: 91.89 kB / 454.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.1733, allocations: 71.47 kB / 454.3 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1744, allocations: 0.686 MB / 455 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.1749, allocations: 0.8182 MB / 455.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1751, allocations: 61.88 kB / 455.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.1752, allocations: 31.42 kB / 455.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1752, allocations: 0 / 455.9 MB, free: 7.922 MB / 334.1 MB Notification: Performance of Templates: time 0.007447/0.1826, allocations: 3.256 MB / 459.1 MB, free: 4.668 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches