Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 99.39 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 194.7 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2575/0.2575, allocations: 43.52 MB / 313.6 MB, free: 0.7109 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.001416/0.001416, allocations: 68 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1343, allocations: 57.8 MB / 440 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002692/0.1371, allocations: 1.662 MB / 441.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1382, allocations: 0.9376 MB / 442.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.1382, allocations: 4 kB / 442.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1384, allocations: 19.92 kB / 442.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.1386, allocations: 43.83 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1389, allocations: 143.3 kB / 442.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1391, allocations: 71.78 kB / 442.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1392, allocations: 23.86 kB / 442.9 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.1392, allocations: 27.91 kB / 442.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1394, allocations: 31.8 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1394, allocations: 4 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-05/0.1395, allocations: 55.95 kB / 443 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.1396, allocations: 15.94 kB / 443 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.1396, allocations: 23.86 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1398, allocations: 103.8 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1398, allocations: 0 / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1398, allocations: 0 / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1398, allocations: 3.938 kB / 443.2 MB, free: 4.195 MB / 318.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.0004038/0.1402, allocations: 383.2 kB / 443.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1403, allocations: 15.89 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.1403, allocations: 4.844 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1405, allocations: 196.2 kB / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-06/0.1405, allocations: 384 / 443.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1405, allocations: 4.375 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1407, allocations: 75.52 kB / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1407, allocations: 0 / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1407, allocations: 4 kB / 443.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1407, allocations: 0 / 443.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1409, allocations: 47.89 kB / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.1412, allocations: 308.6 kB / 444.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1414, allocations: 42.56 kB / 444.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.256e-05/0.1414, allocations: 32.94 kB / 444.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1415, allocations: 0 / 444.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1415, allocations: 30.56 kB / 444.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1415, allocations: 3.938 kB / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006939/0.1422, allocations: 225.5 kB / 444.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.1422, allocations: 81.05 kB / 444.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.1423, allocations: 137.7 kB / 444.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1424, allocations: 25.7 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.1424, allocations: 104 kB / 444.9 MB, free: 2.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1424, allocations: 11.72 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1425, allocations: 25.7 kB / 444.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.1425, allocations: 322.8 kB / 445.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1426, allocations: 43.95 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.1427, allocations: 53.75 kB / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.143, allocations: 84.8 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.143, allocations: 4.031 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002716/0.1432, allocations: 125.5 kB / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1433, allocations: 4 kB / 445.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1433, allocations: 3.938 kB / 445.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1433, allocations: 0 / 445.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1434, allocations: 19.98 kB / 445.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1434, allocations: 0 / 445.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.1435, allocations: 19.92 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1435, allocations: 0 / 445.6 MB, free: 1.562 MB / 318.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 (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 6.204e-05/0.1436, allocations: 125.8 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.1436, allocations: 11.91 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.1439, allocations: 137.9 kB / 445.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1439, allocations: 4 kB / 445.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1439, allocations: 4 kB / 445.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1439, allocations: 3.938 kB / 445.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.1443, allocations: 402.5 kB / 446.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1443, allocations: 0 / 446.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.1444, allocations: 23.92 kB / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1444, allocations: 4 kB / 446.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1444, allocations: 3.938 kB / 446.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1445, allocations: 0 / 446.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1445, allocations: 0 / 446.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1447, allocations: 219.8 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.1447, allocations: 85.02 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1448, allocations: 7.938 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.1449, allocations: 11.98 kB / 446.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1449, allocations: 7.984 kB / 446.6 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1449, allocations: 4 kB / 446.6 MB, free: 428 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.282e-05/0.145, allocations: 114.7 kB / 446.7 MB, free: 316 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.145, allocations: 0 / 446.7 MB, free: 316 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1452, allocations: 24 kB / 446.7 MB, free: 292 kB / 318.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 (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.0009399/0.1462, allocations: 442.9 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.1465, allocations: 95.86 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1465, allocations: 0 / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1466, allocations: 51.91 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.147, allocations: 23.92 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.1475, allocations: 222.4 kB / 447.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.148, allocations: 0.7041 MB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.66e-05/0.148, allocations: 15.98 kB / 448.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.1481, allocations: 19.42 kB / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 1.833e-06/0.1481, allocations: 0 / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of Templates: time 0.004248/0.1524, allocations: 1.477 MB / 449.8 MB, free: 13.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches