Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 104 kB / 16.27 MB, free: 5.98 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.00141/0.00141, allocations: 184.5 kB / 17.19 MB, free: 5.617 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.705/1.705, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2632/0.2632, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001529/0.001529, allocations: 71.94 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.003767/0.1373, allocations: 1.604 MB / 442.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.1379, allocations: 331.5 kB / 442.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.138, allocations: 4 kB / 442.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.1385, allocations: 451.2 kB / 442.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.1388, allocations: 255.4 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1391, allocations: 107.5 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1393, allocations: 159.7 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1394, allocations: 28.36 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1395, allocations: 111.8 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1398, allocations: 211.6 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1398, allocations: 4 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.645e-05/0.1399, allocations: 35.98 kB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.14, allocations: 79.7 kB / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.1401, allocations: 103 kB / 444 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1403, allocations: 247 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1403, allocations: 0 / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1403, allocations: 0 / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1403, allocations: 0 / 444.2 MB, free: 3.211 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.0006357/0.141, allocations: 0.6375 MB / 444.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.141, allocations: 15.89 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.1411, allocations: 40.38 kB / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1413, allocations: 300.2 kB / 445.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1414, allocations: 384 / 445.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1414, allocations: 4.375 kB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1416, allocations: 57.61 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1416, allocations: 0 / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1416, allocations: 4 kB / 445.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1416, allocations: 4 kB / 445.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1417, allocations: 35.97 kB / 445.3 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1422, allocations: 384.6 kB / 445.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1423, allocations: 46.55 kB / 445.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.1424, allocations: 28.88 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1424, allocations: 0 / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1424, allocations: 34.56 kB / 445.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1424, allocations: 4 kB / 445.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007763/0.1432, allocations: 287.9 kB / 446.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1433, allocations: 55.41 kB / 446.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.1439, allocations: 0.8534 MB / 447 MB, free: 256 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1439, allocations: 29.64 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.144, allocations: 208.1 kB / 447.2 MB, free: 8 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1441, allocations: 31.72 kB / 447.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1442, allocations: 25.66 kB / 447.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.1444, allocations: 362.8 kB / 447.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1445, allocations: 27.98 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.1446, allocations: 27.97 kB / 447.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1448, allocations: 80.8 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1448, allocations: 0 / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002943/0.1451, allocations: 141.2 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.1452, allocations: 4 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1452, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1452, allocations: 0 / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1453, allocations: 23.92 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1453, allocations: 4 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.1454, allocations: 19.92 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1454, allocations: 0 / 447.9 MB, free: 15.25 MB / 334.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 0.000211/0.1457, allocations: 213.7 kB / 448.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1457, allocations: 43.44 kB / 448.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004186/0.1462, allocations: 165.7 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1462, allocations: 4 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1462, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1462, allocations: 3.938 kB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.147, allocations: 494.5 kB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.147, allocations: 0 / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.1471, allocations: 19.98 kB / 448.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1472, allocations: 0 / 448.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.1472, allocations: 11.94 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1472, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1472, allocations: 3.938 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.1476, allocations: 239.2 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1477, allocations: 108.6 kB / 449.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.1478, allocations: 7.938 kB / 449.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1479, allocations: 11.97 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.148, allocations: 8 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.148, allocations: 7.938 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007549/0.1487, allocations: 0.6472 MB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.046e-06/0.1488, allocations: 0 / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1491, allocations: 27.94 kB / 449.9 MB, free: 13.14 MB / 334.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.001248/0.1503, allocations: 390.8 kB / 450.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.1507, allocations: 83.88 kB / 450.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1507, allocations: 0 / 450.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.1509, allocations: 43.91 kB / 450.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.1514, allocations: 29.91 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1526, allocations: 0.7993 MB / 451.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.1531, allocations: 0.8279 MB / 452.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.1532, allocations: 12 kB / 452.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1532, allocations: 11.44 kB / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1532, allocations: 0 / 452.1 MB, free: 11 MB / 334.1 MB Notification: Performance of Templates: time 0.005739/0.159, allocations: 1.564 MB / 453.7 MB, free: 9.441 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches