Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.88 MB / 358.1 MB, free: 10.53 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 79.86 kB / 0.4924 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1356, allocations: 65.99 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003667/0.1392, allocations: 1.665 MB / 0.5584 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1413, allocations: 1.214 MB / 0.5596 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.1413, allocations: 0 / 0.5596 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1416, allocations: 19.86 kB / 0.5597 GB, free: 3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1419, allocations: 91.55 kB / 0.5597 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.1423, allocations: 182.7 kB / 0.5599 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1425, allocations: 75.88 kB / 0.56 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1426, allocations: 15.98 kB / 0.56 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.1427, allocations: 31.8 kB / 0.56 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.1428, allocations: 39.83 kB / 0.5601 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1428, allocations: 4 kB / 0.5601 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.143, allocations: 107.9 kB / 0.5602 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1431, allocations: 15.92 kB / 0.5602 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.1432, allocations: 43.78 kB / 0.5602 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.1435, allocations: 139.5 kB / 0.5604 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1435, allocations: 0 / 0.5604 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1435, allocations: 0 / 0.5604 GB, free: 2.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1435, allocations: 0 / 0.5604 GB, free: 2.27 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.0006309/0.1441, allocations: 422.7 kB / 0.5608 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1441, allocations: 8.031 kB / 0.5608 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1442, allocations: 8.891 kB / 0.5608 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1444, allocations: 196.2 kB / 0.561 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1445, allocations: 4.375 kB / 0.561 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1445, allocations: 8.375 kB / 0.561 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1447, allocations: 75.94 kB / 0.5611 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1447, allocations: 192 / 0.5611 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1447, allocations: 3.938 kB / 0.5611 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1447, allocations: 3.938 kB / 0.5611 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1449, allocations: 47.89 kB / 0.5611 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.1454, allocations: 308.7 kB / 0.5614 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1455, allocations: 46.55 kB / 0.5614 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.1456, allocations: 24.94 kB / 0.5615 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1457, allocations: 4.062 kB / 0.5615 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.1457, allocations: 42.5 kB / 0.5615 GB, free: 0.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.1457, allocations: 0 / 0.5615 GB, free: 0.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009125/0.1466, allocations: 229.3 kB / 0.5617 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.1467, allocations: 81.11 kB / 0.5618 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1469, allocations: 151.3 kB / 0.562 GB, free: 444 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.1469, allocations: 25.7 kB / 0.562 GB, free: 412 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.147, allocations: 100.1 kB / 0.5621 GB, free: 308 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.147, allocations: 19.8 kB / 0.5621 GB, free: 288 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.147, allocations: 25.7 kB / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1472, allocations: 318.8 kB / 0.5624 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1473, allocations: 47.95 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.1475, allocations: 49.69 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1477, allocations: 88.78 kB / 0.5626 GB, free: 15.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1477, allocations: 4 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000302/0.148, allocations: 125.5 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1481, allocations: 8 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1481, allocations: 0 / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1481, allocations: 0 / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1482, allocations: 23.97 kB / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1482, allocations: 0 / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.1483, allocations: 4 kB / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1483, allocations: 8 kB / 0.5628 GB, free: 15.56 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.0001028/0.1484, allocations: 125.8 kB / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.1484, allocations: 7.953 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.1488, allocations: 142.6 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1488, allocations: 4 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.1488, allocations: 4 kB / 0.563 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1488, allocations: 4 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.1495, allocations: 418.3 kB / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1495, allocations: 0 / 0.5634 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.1496, allocations: 27.91 kB / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1496, allocations: 0 / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1496, allocations: 0 / 0.5635 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1496, allocations: 7.938 kB / 0.5635 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1496, allocations: 0 / 0.5635 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.15, allocations: 215.4 kB / 0.5637 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.15, allocations: 89.34 kB / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.15, allocations: 0 / 0.5638 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1501, allocations: 23.86 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1502, allocations: 3.984 kB / 0.5638 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.1502, allocations: 7.984 kB / 0.5638 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1503, allocations: 117.4 kB / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1503, allocations: 0 / 0.5639 GB, free: 14.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.1506, allocations: 47.81 kB / 0.564 GB, free: 14.23 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.001785/0.1524, allocations: 491.6 kB / 0.5644 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.1527, allocations: 91.92 kB / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1527, allocations: 0 / 0.5645 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1529, allocations: 47.91 kB / 0.5646 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1532, allocations: 19.92 kB / 0.5646 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.1538, allocations: 243.5 kB / 0.5648 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1542, allocations: 0.7002 MB / 0.5655 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.1543, allocations: 15.44 kB / 0.5655 GB, free: 12.76 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1543, allocations: 0 / 0.5655 GB, free: 12.76 MB / 430.1 MB Notification: Performance of Templates: time 0.004561/0.1588, allocations: 2.191 MB / 0.5676 GB, free: 10.57 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 7.923841706942767]