Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 187 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.0009602/0.00096, allocations: 94.31 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.3687/0.3687, allocations: 43.48 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009586/0.0009587, allocations: 55.91 kB / 429.2 MB, free: 6.359 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1312, allocations: 57.76 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003303/0.1345, allocations: 1.628 MB / 488.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006759/0.1353, allocations: 339.6 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.1353, allocations: 0 / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.1358, allocations: 447.2 kB / 489.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.1362, allocations: 239.5 kB / 489.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1366, allocations: 143.7 kB / 489.8 MB, free: 9.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1368, allocations: 159.7 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.1369, allocations: 15.98 kB / 490 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1371, allocations: 111.7 kB / 490.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1373, allocations: 195.6 kB / 490.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1373, allocations: 4 kB / 490.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.175e-05/0.1374, allocations: 23.94 kB / 490.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.1375, allocations: 83.69 kB / 490.4 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.1376, allocations: 87.06 kB / 490.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1378, allocations: 243.3 kB / 490.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1378, allocations: 4 kB / 490.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.1378, allocations: 0 / 490.7 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1378, allocations: 0 / 490.7 MB, free: 8.824 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006074/0.1385, allocations: 0.618 MB / 491.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.1385, allocations: 8.031 kB / 491.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.1386, allocations: 40.47 kB / 491.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1388, allocations: 296.1 kB / 491.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1388, allocations: 4.375 kB / 491.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1389, allocations: 384 / 491.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.139, allocations: 61.8 kB / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.139, allocations: 0 / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.139, allocations: 0 / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.139, allocations: 0 / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-05/0.1391, allocations: 23.98 kB / 491.7 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.1396, allocations: 388.6 kB / 492.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/0.1397, allocations: 42.5 kB / 492.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1397, allocations: 20.84 kB / 492.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1398, allocations: 0 / 492.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1398, allocations: 30.56 kB / 492.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1398, allocations: 0 / 492.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002505/0.14, allocations: 105.1 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1401, allocations: 55.53 kB / 492.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1409, allocations: 0.8535 MB / 493.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1409, allocations: 25.7 kB / 493.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1411, allocations: 224.1 kB / 493.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1411, allocations: 7.906 kB / 493.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1411, allocations: 9.719 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1413, allocations: 362.7 kB / 493.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.1413, allocations: 15.98 kB / 493.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.1414, allocations: 7.984 kB / 493.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.181e-05/0.1414, allocations: 32.84 kB / 493.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1414, allocations: 0 / 493.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001531/0.1416, allocations: 93.06 kB / 494 MB, free: 5.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1416, allocations: 4 kB / 494 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1416, allocations: 4 kB / 494 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1416, allocations: 4.094 kB / 494 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.1417, allocations: 11.97 kB / 494 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1417, allocations: 0 / 494 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.1418, allocations: 4 kB / 494 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1418, allocations: 4 kB / 494 MB, free: 5.277 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 (2): * Single equations (assignments): 2 * 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.000161/0.142, allocations: 213.7 kB / 494.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.142, allocations: 39.44 kB / 494.3 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.1422, allocations: 116.5 kB / 494.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1422, allocations: 0 / 494.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1422, allocations: 0 / 494.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1422, allocations: 0 / 494.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1425, allocations: 285.5 kB / 494.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1425, allocations: 0 / 494.6 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.1425, allocations: 4 kB / 494.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1425, allocations: 0 / 494.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1425, allocations: 4 kB / 494.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1426, allocations: 7.922 kB / 494.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1426, allocations: 0 / 494.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.1431, allocations: 0.8323 MB / 495.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.1432, allocations: 104.6 kB / 495.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1432, allocations: 4 kB / 495.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.716e-05/0.1433, allocations: 3.938 kB / 495.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1433, allocations: 4.031 kB / 495.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.1433, allocations: 7.922 kB / 495.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000573/0.1439, allocations: 0.6472 MB / 496.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 4 kB / 496.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.1442, allocations: 20 kB / 496.3 MB, free: 2.855 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 (2): * Single equations (assignments): 2 * 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.0007598/0.145, allocations: 346.8 kB / 496.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1451, allocations: 27.92 kB / 496.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1451, allocations: 0 / 496.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.1452, allocations: 11.98 kB / 496.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1456, allocations: 21.97 kB / 496.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1467, allocations: 0.9476 MB / 497.6 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.1471, allocations: 0.8223 MB / 498.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.743e-05/0.1472, allocations: 11.98 kB / 498.5 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.1472, allocations: 11.44 kB / 498.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1472, allocations: 0 / 498.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of Templates: time 0.004441/0.1516, allocations: 1.237 MB / 499.7 MB, free: 15.39 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches