Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 96.17 kB / 16.27 MB, free: 5.93 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.001416/0.001416, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.745/1.745, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2426/0.2426, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001616/0.001616, allocations: 67.03 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.132, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003019/0.1351, allocations: 1.562 MB / 442.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.1359, allocations: 335.5 kB / 442.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.136, allocations: 8 kB / 442.4 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.1366, allocations: 451.2 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.1369, allocations: 247.4 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.1374, allocations: 151.5 kB / 443.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1377, allocations: 163.7 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1378, allocations: 16.45 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1379, allocations: 107.7 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1381, allocations: 215.6 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.1382, allocations: 0 / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1383, allocations: 27.92 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1384, allocations: 83.69 kB / 443.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.1384, allocations: 95.06 kB / 443.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1387, allocations: 247 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1387, allocations: 0 / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1387, allocations: 4 kB / 444.2 MB, free: 3.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1387, allocations: 0 / 444.2 MB, free: 3.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006414/0.1394, allocations: 0.6258 MB / 444.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1394, allocations: 15.89 kB / 444.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.154e-05/0.1395, allocations: 40.38 kB / 444.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1397, allocations: 296.2 kB / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1397, allocations: 384 / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1397, allocations: 8.312 kB / 445.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1399, allocations: 61.61 kB / 445.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1399, allocations: 4 kB / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.14, allocations: 0 / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.14, allocations: 0 / 445.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1401, allocations: 35.97 kB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.1406, allocations: 396.6 kB / 445.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1407, allocations: 50.55 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.673e-05/0.1408, allocations: 24.94 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1408, allocations: 0 / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1409, allocations: 30.56 kB / 445.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1409, allocations: 0 / 445.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003499/0.1412, allocations: 133.1 kB / 445.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1413, allocations: 55.41 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.1419, allocations: 0.8496 MB / 446.8 MB, free: 420 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1419, allocations: 25.7 kB / 446.8 MB, free: 388 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.142, allocations: 216 kB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1421, allocations: 11.84 kB / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.1421, allocations: 13.72 kB / 447 MB, free: 136 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002835/0.1424, allocations: 366.7 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.1425, allocations: 19.97 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.1425, allocations: 15.98 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1427, allocations: 49.09 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1427, allocations: 0 / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002319/0.1429, allocations: 109.1 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1429, allocations: 11.98 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1429, allocations: 0 / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.143, allocations: 0 / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.1431, allocations: 8 kB / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1431, allocations: 0 / 447.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.1431, allocations: 11.89 kB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1432, allocations: 0 / 447.6 MB, free: 15.54 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 (3): * Single equations (assignments): 3 * 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.0002057/0.1434, allocations: 213.7 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.1434, allocations: 43.53 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.1437, allocations: 132.9 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1438, allocations: 0 / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1438, allocations: 3.938 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1438, allocations: 0 / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1441, allocations: 289.5 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1441, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.1442, allocations: 11.98 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1442, allocations: 0 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1442, allocations: 4 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1442, allocations: 0 / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1442, allocations: 0 / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1445, allocations: 206.9 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1446, allocations: 104.6 kB / 448.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1447, allocations: 4 kB / 448.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1448, allocations: 19.92 kB / 448.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.1449, allocations: 7.938 kB / 448.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1449, allocations: 0 / 448.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007299/0.1456, allocations: 0.6472 MB / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1457, allocations: 0 / 449.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.146, allocations: 19.98 kB / 449.3 MB, free: 13.75 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 (3): * Single equations (assignments): 3 * 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.0008493/0.1468, allocations: 348 kB / 449.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.147, allocations: 47.95 kB / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.147, allocations: 0 / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.1471, allocations: 31.86 kB / 449.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.1476, allocations: 25.94 kB / 449.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1487, allocations: 0.7795 MB / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.1493, allocations: 0.8182 MB / 451.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.1493, allocations: 11.98 kB / 451.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.1494, allocations: 11.44 kB / 451.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1494, allocations: 0 / 451.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Templates: time 0.006042/0.1554, allocations: 1.344 MB / 452.7 MB, free: 10.37 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches