Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, 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.444/1.444, 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.001046/0.001046, allocations: 93.44 kB / 269.9 MB, free: 8.434 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.4037/0.4037, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003877/0.156, allocations: 1.663 MB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.1568, allocations: 343.6 kB / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.367e-05/0.1569, allocations: 0 / 489 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1572, allocations: 47.88 kB / 489.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1575, allocations: 43.83 kB / 489.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.1579, allocations: 151.7 kB / 489.3 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.1581, allocations: 75.77 kB / 489.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1583, allocations: 24.12 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.1583, allocations: 27.91 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1585, allocations: 35.84 kB / 489.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1585, allocations: 4 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.1586, allocations: 27.98 kB / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.1587, allocations: 27.91 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.1587, allocations: 31.73 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1589, allocations: 87.66 kB / 489.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1589, allocations: 4 kB / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1589, allocations: 0 / 489.6 MB, free: 9.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.159, allocations: 0 / 489.6 MB, free: 9.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005769/0.1595, allocations: 395.1 kB / 490 MB, free: 9.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1596, allocations: 8.031 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1596, allocations: 8.844 kB / 490 MB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1599, allocations: 207.7 kB / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1599, allocations: 384 / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1599, allocations: 384 / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.1601, allocations: 69.73 kB / 490.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1601, allocations: 0 / 490.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1602, allocations: 4 kB / 490.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1602, allocations: 0 / 490.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1603, allocations: 39.95 kB / 490.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.1608, allocations: 312.7 kB / 490.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.161, allocations: 46.5 kB / 490.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.161, allocations: 24.94 kB / 490.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1611, allocations: 4 kB / 490.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1611, allocations: 34.56 kB / 490.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1611, allocations: 0 / 490.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008397/0.162, allocations: 233.3 kB / 490.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.162, allocations: 51.41 kB / 491 MB, free: 8.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1622, allocations: 169.8 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1622, allocations: 25.7 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.1623, allocations: 100.1 kB / 491.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1623, allocations: 23.64 kB / 491.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1624, allocations: 17.72 kB / 491.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1625, allocations: 322.8 kB / 491.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.1626, allocations: 43.97 kB / 491.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1628, allocations: 35.97 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.163, allocations: 88.81 kB / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.163, allocations: 3.938 kB / 491.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002921/0.1633, allocations: 133.5 kB / 491.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1633, allocations: 4 kB / 491.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1633, allocations: 0 / 491.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1634, allocations: 4 kB / 491.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1635, allocations: 15.98 kB / 492 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1635, allocations: 3.938 kB / 492 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.1636, allocations: 15.98 kB / 492 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1636, allocations: 4 kB / 492 MB, free: 7.328 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 (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.0001036/0.1637, allocations: 137.8 kB / 492.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.1637, allocations: 11.81 kB / 492.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.1641, allocations: 134.3 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1641, allocations: 0 / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1641, allocations: 3.938 kB / 492.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1641, allocations: 4 kB / 492.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.1647, allocations: 406.4 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1647, allocations: 0 / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.1648, allocations: 19.98 kB / 492.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1648, allocations: 7.875 kB / 492.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1648, allocations: 0 / 492.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1648, allocations: 4 kB / 492.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1648, allocations: 4 kB / 492.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.1656, allocations: 0.8257 MB / 493.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1657, allocations: 85.02 kB / 493.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1657, allocations: 0 / 493.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.1658, allocations: 15.98 kB / 493.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.1658, allocations: 4 kB / 493.6 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1658, allocations: 3.984 kB / 493.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.166, allocations: 131.9 kB / 493.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.166, allocations: 0 / 493.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003378/0.1663, allocations: 16 kB / 493.8 MB, free: 5.387 MB / 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 (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.0008656/0.1672, allocations: 409.4 kB / 494.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.1675, allocations: 83.94 kB / 494.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1675, allocations: 0 / 494.3 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1676, allocations: 51.89 kB / 494.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.168, allocations: 20 kB / 494.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.1686, allocations: 374.6 kB / 494.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1689, allocations: 0.716 MB / 495.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.517e-05/0.169, allocations: 15.98 kB / 495.4 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.169, allocations: 11.44 kB / 495.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.169, allocations: 0 / 495.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of Templates: time 0.00376/0.1728, allocations: 1.21 MB / 496.7 MB, free: 2.484 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches