Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 102.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 185.5 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.4852/0.4852, allocations: 43.58 MB / 315 MB, free: 9.016 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.0005352/0.000535, allocations: 16.56 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1463, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002227/0.1486, allocations: 1.317 MB / 444.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.1494, allocations: 339.7 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.1494, allocations: 0 / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.15, allocations: 451.2 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1504, allocations: 239.5 kB / 445.8 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1508, allocations: 147.8 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.151, allocations: 163.6 kB / 446.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1511, allocations: 24.44 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1512, allocations: 95.8 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.1514, allocations: 207.5 kB / 446.4 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1515, allocations: 4 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1516, allocations: 27.98 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.1517, allocations: 83.64 kB / 446.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1518, allocations: 124.7 kB / 446.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.152, allocations: 246.9 kB / 446.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1521, allocations: 0 / 446.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1521, allocations: 4 kB / 446.9 MB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1521, allocations: 0 / 446.9 MB, free: 9.469 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.0006367/0.1527, allocations: 0.5833 MB / 447.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.1528, allocations: 12.03 kB / 447.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.1528, allocations: 36.47 kB / 447.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1531, allocations: 304.1 kB / 447.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1531, allocations: 384 / 447.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.1532, allocations: 4.375 kB / 447.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1533, allocations: 65.61 kB / 447.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1533, allocations: 0 / 447.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1533, allocations: 0 / 447.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1534, allocations: 0 / 447.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1535, allocations: 39.97 kB / 447.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.154, allocations: 396.6 kB / 448.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1542, allocations: 54.48 kB / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1543, allocations: 16.86 kB / 448.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1543, allocations: 3.984 kB / 448.4 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1543, allocations: 34.56 kB / 448.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1543, allocations: 0 / 448.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006612/0.155, allocations: 256 kB / 448.7 MB, free: 7.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1551, allocations: 51.41 kB / 448.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/0.1559, allocations: 0.8613 MB / 449.6 MB, free: 6.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1559, allocations: 25.7 kB / 449.6 MB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1561, allocations: 224.1 kB / 449.8 MB, free: 6.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.1561, allocations: 15.86 kB / 449.8 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1561, allocations: 17.72 kB / 449.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1563, allocations: 358.7 kB / 450.2 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.1564, allocations: 27.98 kB / 450.2 MB, free: 5.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.1564, allocations: 27.97 kB / 450.2 MB, free: 5.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1566, allocations: 60.83 kB / 450.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1566, allocations: 4 kB / 450.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002506/0.1569, allocations: 125.1 kB / 450.4 MB, free: 5.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1569, allocations: 7.938 kB / 450.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1569, allocations: 0 / 450.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1569, allocations: 0 / 450.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.157, allocations: 23.92 kB / 450.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.157, allocations: 0 / 450.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.1571, allocations: 11.92 kB / 450.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1571, allocations: 8 kB / 450.5 MB, free: 5.629 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 (5): * Single equations (assignments): 5 * 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.0002102/0.1573, allocations: 213.7 kB / 450.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.1574, allocations: 43.44 kB / 450.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.1577, allocations: 149 kB / 450.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1577, allocations: 0 / 450.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1577, allocations: 0 / 450.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1577, allocations: 3.938 kB / 450.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.1583, allocations: 482.7 kB / 451.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1584, allocations: 0 / 451.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.1584, allocations: 15.98 kB / 451.4 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1584, allocations: 0 / 451.4 MB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1584, allocations: 7.875 kB / 451.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1585, allocations: 4 kB / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1585, allocations: 0 / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1587, allocations: 230.9 kB / 451.6 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.1588, allocations: 104.6 kB / 451.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1589, allocations: 7.938 kB / 451.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.159, allocations: 7.984 kB / 451.7 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.159, allocations: 12 kB / 451.7 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.159, allocations: 0 / 451.7 MB, free: 4.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006698/0.1597, allocations: 0.6472 MB / 452.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1597, allocations: 0 / 452.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.16, allocations: 23.98 kB / 452.4 MB, free: 3.594 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 (5): * Single equations (assignments): 5 * 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.001077/0.1611, allocations: 406 kB / 452.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1613, allocations: 67.91 kB / 452.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1613, allocations: 0 / 452.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.1614, allocations: 27.98 kB / 452.9 MB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1618, allocations: 25.95 kB / 452.9 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.163, allocations: 0.8802 MB / 453.8 MB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.1634, allocations: 0.8262 MB / 454.6 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.783e-05/0.1635, allocations: 11.98 kB / 454.6 MB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1635, allocations: 11.44 kB / 454.7 MB, free: 1.324 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1635, allocations: 0 / 454.7 MB, free: 1.324 MB / 382.1 MB Notification: Performance of Templates: time 0.2284/0.392, allocations: 1.352 MB / 456 MB, free: 46.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches