Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.244/0.244, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.91 kB / 0.4914 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1334, allocations: 65.99 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003225/0.1366, allocations: 1.668 MB / 0.5575 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1385, allocations: 1.218 MB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.1386, allocations: 0 / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1388, allocations: 23.86 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1391, allocations: 87.61 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.1395, allocations: 182.4 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1397, allocations: 75.81 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1398, allocations: 19.98 kB / 0.5591 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.1398, allocations: 31.8 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.14, allocations: 43.83 kB / 0.5591 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.14, allocations: 7.938 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1402, allocations: 103.9 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.1403, allocations: 19.92 kB / 0.5593 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.1403, allocations: 35.78 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1406, allocations: 139.5 kB / 0.5594 GB, free: 1.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1406, allocations: 4 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1406, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1406, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.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.0006369/0.1412, allocations: 422.7 kB / 0.5598 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1413, allocations: 12.03 kB / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.1413, allocations: 8.891 kB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1416, allocations: 190.3 kB / 0.56 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1416, allocations: 4.375 kB / 0.56 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1416, allocations: 8.312 kB / 0.56 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1418, allocations: 83.5 kB / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1418, allocations: 0 / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1418, allocations: 0 / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1418, allocations: 0 / 0.5601 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.142, allocations: 47.89 kB / 0.5602 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1425, allocations: 300.8 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1426, allocations: 54.55 kB / 0.5605 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.1427, allocations: 24.94 kB / 0.5605 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1427, allocations: 0 / 0.5605 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.1428, allocations: 34.5 kB / 0.5606 GB, free: 324 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1428, allocations: 0 / 0.5606 GB, free: 324 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009054/0.1437, allocations: 241.3 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.1438, allocations: 81.11 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.144, allocations: 151.7 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.144, allocations: 29.7 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.1441, allocations: 100.1 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1441, allocations: 23.8 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1442, allocations: 21.7 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1443, allocations: 318.8 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1445, allocations: 39.95 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1446, allocations: 49.69 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.1449, allocations: 92.83 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1449, allocations: 0 / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003403/0.1452, allocations: 133.5 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1452, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1452, allocations: 4 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1452, allocations: 0 / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1454, allocations: 19.98 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1454, allocations: 7.922 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.1455, allocations: 11.94 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1455, allocations: 4 kB / 0.5618 GB, free: 14.94 MB / 430.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.0001214/0.1456, allocations: 124 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.1456, allocations: 7.953 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.146, allocations: 146.6 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.146, allocations: 0 / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.146, allocations: 3.938 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1461, allocations: 3.938 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.1467, allocations: 414.4 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1467, allocations: 0 / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.961e-05/0.1468, allocations: 27.91 kB / 0.5625 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1468, allocations: 0 / 0.5625 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1468, allocations: 7.938 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1468, allocations: 0 / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1468, allocations: 4 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.1472, allocations: 219.4 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.1473, allocations: 81.06 kB / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1473, allocations: 3.938 kB / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1474, allocations: 11.98 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1474, allocations: 7.984 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1475, allocations: 4 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1476, allocations: 111.2 kB / 0.563 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1476, allocations: 4 kB / 0.563 GB, free: 13.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.1479, allocations: 47.81 kB / 0.563 GB, free: 13.62 MB / 430.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.00183/0.1497, allocations: 0.4896 MB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1501, allocations: 91.91 kB / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1501, allocations: 0 / 0.5636 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1503, allocations: 51.91 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1506, allocations: 15.98 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.1511, allocations: 217.8 kB / 0.5638 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1515, allocations: 0.7002 MB / 0.5645 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.705e-05/0.1516, allocations: 24.66 kB / 0.5646 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.1516, allocations: 23.42 kB / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1516, allocations: 0 / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of Templates: time 0.005456/0.1571, allocations: 1.935 MB / 0.5665 GB, free: 10.22 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.379635900259018]