Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.00127/0.00127, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001433/0.001433, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.494/1.494, allocations: 230.2 MB / 255.2 MB, free: 15.4 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.2316/0.2316, allocations: 46.88 MB / 358.1 MB, free: 10.55 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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") [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.002292/0.002292, allocations: 78.89 kB / 0.4925 GB, free: 26.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1365, allocations: 65.99 MB / 0.5569 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00359/0.1401, allocations: 1.753 MB / 0.5586 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1421, allocations: 1.037 MB / 0.5596 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.1422, allocations: 7.938 kB / 0.5596 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.1425, allocations: 91.67 kB / 0.5597 GB, free: 5.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1429, allocations: 115.6 kB / 0.5598 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1431, allocations: 83.67 kB / 0.5599 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1433, allocations: 123.7 kB / 0.56 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1435, allocations: 11.98 kB / 0.56 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1436, allocations: 63.75 kB / 0.5601 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1437, allocations: 67.73 kB / 0.5602 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1437, allocations: 4 kB / 0.5602 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1438, allocations: 67.92 kB / 0.5602 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.1439, allocations: 27.89 kB / 0.5603 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.144, allocations: 43.69 kB / 0.5603 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1442, allocations: 135.4 kB / 0.5604 GB, free: 4.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1443, allocations: 4 kB / 0.5604 GB, free: 4.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1443, allocations: 0 / 0.5604 GB, free: 4.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1443, allocations: 3.938 kB / 0.5604 GB, free: 4.906 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.0006427/0.1449, allocations: 454.4 kB / 0.5609 GB, free: 4.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1449, allocations: 8.031 kB / 0.5609 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.145, allocations: 16.84 kB / 0.5609 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.1453, allocations: 216.9 kB / 0.5611 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1454, allocations: 384 / 0.5611 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1454, allocations: 8.375 kB / 0.5611 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1456, allocations: 61.98 kB / 0.5612 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1456, allocations: 7.875 kB / 0.5612 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1456, allocations: 3.984 kB / 0.5612 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1456, allocations: 3.938 kB / 0.5612 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.1457, allocations: 23.98 kB / 0.5612 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.1461, allocations: 308.8 kB / 0.5615 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.1463, allocations: 58.48 kB / 0.5616 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.1464, allocations: 16.98 kB / 0.5616 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1464, allocations: 0 / 0.5616 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1466, allocations: 75.38 kB / 0.5616 GB, free: 3.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1466, allocations: 0 / 0.5616 GB, free: 3.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008005/0.1474, allocations: 253.7 kB / 0.5619 GB, free: 3.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1474, allocations: 51.41 kB / 0.5619 GB, free: 3.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1477, allocations: 238.1 kB / 0.5622 GB, free: 2.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1477, allocations: 29.7 kB / 0.5622 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.1478, allocations: 112.1 kB / 0.5623 GB, free: 2.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1478, allocations: 35.75 kB / 0.5623 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.1479, allocations: 29.7 kB / 0.5624 GB, free: 2.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.148, allocations: 326.8 kB / 0.5627 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.1481, allocations: 31.98 kB / 0.5627 GB, free: 2.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.1482, allocations: 45.64 kB / 0.5627 GB, free: 2.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.1483, allocations: 81.64 kB / 0.5628 GB, free: 2.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1483, allocations: 4 kB / 0.5628 GB, free: 2.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002313/0.1486, allocations: 125.5 kB / 0.5629 GB, free: 2.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1486, allocations: 8 kB / 0.563 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1486, allocations: 0 / 0.563 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1486, allocations: 0 / 0.563 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1487, allocations: 19.98 kB / 0.563 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1487, allocations: 4 kB / 0.563 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.1487, allocations: 7.938 kB / 0.563 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.1488, allocations: 4 kB / 0.563 GB, free: 2.051 MB / 414.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.0001165/0.1489, allocations: 137.8 kB / 0.5631 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1489, allocations: 19.91 kB / 0.5631 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.149, allocations: 25.39 kB / 0.5632 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.149, allocations: 0 / 0.5632 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.149, allocations: 0 / 0.5632 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.149, allocations: 3.938 kB / 0.5632 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.1496, allocations: 463.9 kB / 0.5636 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1496, allocations: 0 / 0.5636 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.1496, allocations: 16 kB / 0.5636 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1496, allocations: 7.938 kB / 0.5636 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1496, allocations: 3.984 kB / 0.5636 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1496, allocations: 4 kB / 0.5636 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1496, allocations: 0 / 0.5636 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1499, allocations: 233.1 kB / 0.5639 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.15, allocations: 92.95 kB / 0.5639 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.15, allocations: 11.98 kB / 0.564 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.1501, allocations: 0 / 0.564 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1501, allocations: 11.98 kB / 0.564 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1501, allocations: 8 kB / 0.564 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1503, allocations: 168.4 kB / 0.5641 GB, free: 0.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1503, allocations: 0 / 0.5641 GB, free: 0.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1506, allocations: 35.92 kB / 0.5642 GB, free: 0.7148 MB / 414.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.001902/0.1525, allocations: 0.5039 MB / 0.5647 GB, free: 416 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1527, allocations: 75.84 kB / 0.5647 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1527, allocations: 0 / 0.5647 GB, free: 340 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.83e-05/0.1528, allocations: 35.92 kB / 0.5648 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1532, allocations: 46.41 kB / 0.5648 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.1538, allocations: 333.9 kB / 0.5651 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1542, allocations: 0.7119 MB / 0.5658 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1543, allocations: 19.44 kB / 0.5658 GB, free: 15.13 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1543, allocations: 0 / 0.5658 GB, free: 15.13 MB / 430.1 MB Notification: Performance of Templates: time 0.004593/0.1588, allocations: 2.279 MB / 0.5681 GB, free: 12.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.805717217037454]