Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.001288/0.001288, allocations: 109.8 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.001357/0.001357, allocations: 208.9 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.639/1.639, allocations: 230.2 MB / 255.1 MB, free: 15.27 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.235/0.235, allocations: 46.88 MB / 358.1 MB, free: 10.56 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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") [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.002234/0.002234, allocations: 87.84 kB / 0.4925 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 65.99 MB / 0.5569 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003414/0.1378, allocations: 1.75 MB / 0.5586 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1397, allocations: 1.044 MB / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.1398, allocations: 0 / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.1401, allocations: 87.69 kB / 0.5597 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.1405, allocations: 115.6 kB / 0.5598 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.1407, allocations: 87.66 kB / 0.5599 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1409, allocations: 131.6 kB / 0.56 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1411, allocations: 7.984 kB / 0.56 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1412, allocations: 63.75 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1413, allocations: 71.73 kB / 0.5602 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1413, allocations: 4 kB / 0.5602 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1415, allocations: 63.97 kB / 0.5602 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1415, allocations: 19.92 kB / 0.5602 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1416, allocations: 43.67 kB / 0.5603 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1418, allocations: 139.4 kB / 0.5604 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1418, allocations: 4 kB / 0.5604 GB, free: 2.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1418, allocations: 0 / 0.5604 GB, free: 2.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1418, allocations: 0 / 0.5604 GB, free: 2.227 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006373/0.1425, allocations: 450.4 kB / 0.5609 GB, free: 1.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1425, allocations: 12.03 kB / 0.5609 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.1426, allocations: 12.84 kB / 0.5609 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1429, allocations: 224.8 kB / 0.5611 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1429, allocations: 4.359 kB / 0.5611 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1429, allocations: 12.38 kB / 0.5611 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.1431, allocations: 61.92 kB / 0.5612 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1431, allocations: 11.92 kB / 0.5612 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1431, allocations: 0 / 0.5612 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1431, allocations: 0 / 0.5612 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.1432, allocations: 19.98 kB / 0.5612 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.1436, allocations: 308.7 kB / 0.5615 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1439, allocations: 66.48 kB / 0.5616 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.144, allocations: 16.98 kB / 0.5616 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.144, allocations: 3.984 kB / 0.5616 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.1441, allocations: 67.39 kB / 0.5616 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1441, allocations: 0 / 0.5616 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007949/0.1449, allocations: 241.8 kB / 0.5619 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.145, allocations: 59.39 kB / 0.5619 GB, free: 0.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1452, allocations: 238 kB / 0.5622 GB, free: 264 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1452, allocations: 25.7 kB / 0.5622 GB, free: 232 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.1453, allocations: 116.1 kB / 0.5623 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.1454, allocations: 31.81 kB / 0.5623 GB, free: 80 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.1454, allocations: 29.7 kB / 0.5624 GB, free: 44 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1456, allocations: 334.7 kB / 0.5627 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.26e-05/0.1457, allocations: 31.98 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.602e-05/0.1458, allocations: 49.2 kB / 0.5627 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1459, allocations: 77.7 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1459, allocations: 0 / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002304/0.1461, allocations: 125.5 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1462, allocations: 4 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1462, allocations: 4.031 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1462, allocations: 4 kB / 0.563 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.1463, allocations: 23.92 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1463, allocations: 4.062 kB / 0.563 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.1463, allocations: 19.81 kB / 0.563 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1463, allocations: 4 kB / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000119/0.1464, allocations: 129.8 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1465, allocations: 15.91 kB / 0.5631 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.1465, allocations: 25.39 kB / 0.5632 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1465, allocations: 4 kB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1465, allocations: 4 kB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1465, allocations: 3.938 kB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.1471, allocations: 452 kB / 0.5636 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1471, allocations: 0 / 0.5636 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.1472, allocations: 16 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1472, allocations: 4 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1472, allocations: 11.98 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1472, allocations: 0 / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1472, allocations: 3.938 kB / 0.5636 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1475, allocations: 225.2 kB / 0.5639 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.1475, allocations: 96.89 kB / 0.5639 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1476, allocations: 11.98 kB / 0.564 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1476, allocations: 4 kB / 0.564 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.1477, allocations: 7.984 kB / 0.564 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1477, allocations: 8 kB / 0.564 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1479, allocations: 172.4 kB / 0.5641 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1479, allocations: 7.938 kB / 0.5642 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1481, allocations: 27.94 kB / 0.5642 GB, free: 14.03 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00188/0.15, allocations: 0.4986 MB / 0.5647 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.1502, allocations: 79.78 kB / 0.5647 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1503, allocations: 4 kB / 0.5647 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.1503, allocations: 35.92 kB / 0.5648 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1507, allocations: 42.62 kB / 0.5648 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.1513, allocations: 330.2 kB / 0.5651 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1517, allocations: 0.7196 MB / 0.5658 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1517, allocations: 15.44 kB / 0.5659 GB, free: 12.45 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1517, allocations: 0 / 0.5659 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Templates: time 0.004418/0.1561, allocations: 2.282 MB / 0.5681 GB, free: 10.17 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.978635693900287]