Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, 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.386/1.386, 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.0009973/0.0009976, allocations: 102.4 kB / 269.9 MB, free: 8.441 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.3644/0.3644, allocations: 43.48 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 55.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00382/0.1439, allocations: 1.663 MB / 488.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008382/0.1448, allocations: 351.6 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.618e-05/0.1449, allocations: 0 / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.1455, allocations: 451.2 kB / 489.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.146, allocations: 243.5 kB / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.1464, allocations: 147.7 kB / 489.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.1468, allocations: 159.6 kB / 490 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1469, allocations: 24.44 kB / 490 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1471, allocations: 103.8 kB / 490.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.1473, allocations: 199.6 kB / 490.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1474, allocations: 4 kB / 490.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1475, allocations: 31.97 kB / 490.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1476, allocations: 87.69 kB / 490.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.1477, allocations: 99 kB / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.148, allocations: 254.9 kB / 490.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.148, allocations: 4 kB / 490.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.148, allocations: 0 / 490.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.148, allocations: 0 / 490.8 MB, free: 8.762 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.0008322/0.1489, allocations: 0.6219 MB / 491.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1489, allocations: 12.03 kB / 491.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.149, allocations: 40.38 kB / 491.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.1493, allocations: 300.2 kB / 491.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1494, allocations: 4.375 kB / 491.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1494, allocations: 4.375 kB / 491.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1496, allocations: 61.55 kB / 491.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1496, allocations: 0 / 491.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1496, allocations: 4 kB / 491.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1496, allocations: 0 / 491.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1497, allocations: 31.91 kB / 491.9 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.1503, allocations: 392.7 kB / 492.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.1506, allocations: 50.48 kB / 492.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.1506, allocations: 12.86 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1507, allocations: 0 / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1507, allocations: 42.64 kB / 492.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.1507, allocations: 7.984 kB / 492.4 MB, free: 7.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006858/0.1514, allocations: 227.9 kB / 492.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1515, allocations: 51.41 kB / 492.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008724/0.1523, allocations: 0.8613 MB / 493.5 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1524, allocations: 29.7 kB / 493.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.1525, allocations: 216.1 kB / 493.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1526, allocations: 23.7 kB / 493.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.1526, allocations: 21.72 kB / 493.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1528, allocations: 354.8 kB / 494.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.1529, allocations: 19.98 kB / 494.1 MB, free: 5.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.39e-05/0.153, allocations: 23.97 kB / 494.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1531, allocations: 60.7 kB / 494.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1531, allocations: 4 kB / 494.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002333/0.1533, allocations: 113.5 kB / 494.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1534, allocations: 4 kB / 494.3 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1534, allocations: 7.984 kB / 494.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1534, allocations: 0 / 494.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/0.1535, allocations: 12 kB / 494.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1535, allocations: 0 / 494.4 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.1536, allocations: 11.92 kB / 494.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1536, allocations: 8 kB / 494.4 MB, free: 4.941 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 (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.0001802/0.1538, allocations: 213.7 kB / 494.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.1538, allocations: 43.44 kB / 494.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.1541, allocations: 141.1 kB / 494.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1542, allocations: 0 / 494.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1542, allocations: 4 kB / 494.8 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1542, allocations: 7.922 kB / 494.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.1548, allocations: 470.4 kB / 495.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1548, allocations: 0 / 495.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.1549, allocations: 15.92 kB / 495.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1549, allocations: 0 / 495.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1549, allocations: 7.938 kB / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1549, allocations: 0 / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1549, allocations: 0 / 495.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.1556, allocations: 0.8754 MB / 496.1 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/0.1557, allocations: 112.5 kB / 496.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1557, allocations: 4 kB / 496.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.1558, allocations: 7.984 kB / 496.3 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1559, allocations: 4 kB / 496.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1559, allocations: 8 kB / 496.3 MB, free: 2.895 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00061/0.1565, allocations: 0.6511 MB / 496.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.1565, allocations: 0 / 496.9 MB, free: 2.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003444/0.1569, allocations: 16 kB / 496.9 MB, free: 2.23 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 (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.000883/0.1577, allocations: 398.2 kB / 497.3 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.158, allocations: 55.91 kB / 497.4 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.158, allocations: 0 / 497.4 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.1581, allocations: 24.11 kB / 497.4 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.1586, allocations: 33.83 kB / 497.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.1598, allocations: 0.9834 MB / 498.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.1603, allocations: 0.8302 MB / 499.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.1604, allocations: 19.83 kB / 499.3 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.1604, allocations: 15.38 kB / 499.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1604, allocations: 4 kB / 499.3 MB, free: 15.85 MB / 394.7 MB Notification: Performance of Templates: time 0.004641/0.1651, allocations: 1.424 MB / 0.489 GB, free: 14.43 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches