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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 101.5 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3894/0.3894, allocations: 43.48 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001055, allocations: 51.91 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1452, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003528/0.1488, allocations: 2.002 MB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1501, allocations: 0.7641 MB / 489.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.1502, allocations: 7.938 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.1506, allocations: 243.4 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.151, allocations: 179.5 kB / 490.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1521, allocations: 0.5655 MB / 490.8 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1525, allocations: 287.2 kB / 491 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1527, allocations: 76.69 kB / 491.1 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1528, allocations: 131.5 kB / 491.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1531, allocations: 187.4 kB / 491.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.1531, allocations: 8 kB / 491.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1533, allocations: 63.91 kB / 491.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1534, allocations: 99.67 kB / 491.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1535, allocations: 107.1 kB / 491.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.1538, allocations: 294.8 kB / 492 MB, free: 7.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1538, allocations: 8 kB / 492 MB, free: 7.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1539, allocations: 0 / 492 MB, free: 7.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1539, allocations: 0 / 492 MB, free: 7.539 MB / 378.7 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.0007527/0.1546, allocations: 0.6224 MB / 492.6 MB, free: 6.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1547, allocations: 8.031 kB / 492.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1547, allocations: 40.38 kB / 492.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1551, allocations: 310.3 kB / 493 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1551, allocations: 12.31 kB / 493 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1551, allocations: 12.38 kB / 493 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1554, allocations: 129.7 kB / 493.1 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1554, allocations: 3.984 kB / 493.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1554, allocations: 4 kB / 493.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1554, allocations: 0 / 493.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1556, allocations: 91.94 kB / 493.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.1563, allocations: 0.4925 MB / 493.7 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1565, allocations: 114.5 kB / 493.8 MB, free: 5.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.1566, allocations: 40.83 kB / 493.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.1566, allocations: 0 / 493.9 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1567, allocations: 42.56 kB / 493.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.1567, allocations: 4 kB / 493.9 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009672/0.1576, allocations: 432.5 kB / 494.3 MB, free: 5.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1577, allocations: 59.39 kB / 494.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.1582, allocations: 0.5211 MB / 494.9 MB, free: 4.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1582, allocations: 33.64 kB / 494.9 MB, free: 4.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1584, allocations: 200.2 kB / 495.1 MB, free: 4.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.1584, allocations: 51.2 kB / 495.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.1585, allocations: 41.7 kB / 495.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1587, allocations: 350.8 kB / 495.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1588, allocations: 63.95 kB / 495.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1589, allocations: 63.97 kB / 495.7 MB, free: 3.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1592, allocations: 156.7 kB / 495.8 MB, free: 3.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1592, allocations: 3.938 kB / 495.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003433/0.1596, allocations: 228.6 kB / 496.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1596, allocations: 4 kB / 496.1 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1596, allocations: 3.984 kB / 496.1 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1596, allocations: 0 / 496.1 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1598, allocations: 35.92 kB / 496.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1598, allocations: 3.938 kB / 496.1 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.1598, allocations: 7.906 kB / 496.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1599, allocations: 15.97 kB / 496.1 MB, free: 3.156 MB / 378.7 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.0001463/0.16, allocations: 177.8 kB / 496.3 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.1601, allocations: 39.53 kB / 496.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004672/0.1606, allocations: 269.3 kB / 496.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1606, allocations: 4 kB / 496.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1606, allocations: 0 / 496.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1606, allocations: 0 / 496.6 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/0.1614, allocations: 0.666 MB / 497.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1614, allocations: 0 / 497.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1615, allocations: 35.92 kB / 497.3 MB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.1615, allocations: 7.984 kB / 497.3 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1616, allocations: 0 / 497.3 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1616, allocations: 8 kB / 497.3 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1616, allocations: 3.938 kB / 497.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.1624, allocations: 1.027 MB / 498.4 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.1625, allocations: 108.7 kB / 498.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.1625, allocations: 8 kB / 498.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.1626, allocations: 11.98 kB / 498.5 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1627, allocations: 7.984 kB / 498.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1627, allocations: 4 kB / 498.5 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003596/0.1631, allocations: 395.1 kB / 498.9 MB, free: 264 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1631, allocations: 0 / 498.9 MB, free: 264 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003736/0.1635, allocations: 51.98 kB / 498.9 MB, free: 212 kB / 378.7 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.001571/0.165, allocations: 0.7055 MB / 499.7 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.1654, allocations: 171.7 kB / 499.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1654, allocations: 0 / 499.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.1655, allocations: 87.89 kB / 499.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005462/0.1661, allocations: 77.3 kB / 500 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.1672, allocations: 0.9521 MB / 0.4892 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.1677, allocations: 0.8339 MB / 0.49 GB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.1678, allocations: 53.91 kB / 0.4901 GB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.1679, allocations: 27.42 kB / 0.4901 GB, free: 13.29 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.1679, allocations: 0 / 0.4901 GB, free: 13.29 MB / 394.7 MB Notification: Performance of Templates: time 0.006562/0.1744, allocations: 3.194 MB / 0.4932 GB, free: 10.09 MB / 394.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches