Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.001612/0.001612, allocations: 115.8 kB / 19.18 MB, free: 3.883 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.001624/0.001624, allocations: 208.9 kB / 22.13 MB, free: 0.9297 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.496/1.496, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.243/0.243, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4") [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.002245/0.002245, allocations: 79.88 kB / 0.4925 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1407, allocations: 65.99 MB / 0.5569 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003553/0.1443, allocations: 1.761 MB / 0.5586 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1462, allocations: 1.036 MB / 0.5596 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.1463, allocations: 0 / 0.5596 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1467, allocations: 91.69 kB / 0.5597 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.147, allocations: 115.6 kB / 0.5598 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1473, allocations: 75.67 kB / 0.5599 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1475, allocations: 127.6 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1476, allocations: 15.97 kB / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1477, allocations: 51.78 kB / 0.5601 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1479, allocations: 67.73 kB / 0.5602 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1479, allocations: 8 kB / 0.5602 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.148, allocations: 59.97 kB / 0.5602 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.1481, allocations: 23.92 kB / 0.5602 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.1481, allocations: 35.69 kB / 0.5603 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1484, allocations: 147.4 kB / 0.5604 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1484, allocations: 0 / 0.5604 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1484, allocations: 3.938 kB / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1484, allocations: 0 / 0.5604 GB, free: 2.188 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.0006588/0.1491, allocations: 438.5 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1491, allocations: 16.03 kB / 0.5609 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1492, allocations: 12.84 kB / 0.5609 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.1495, allocations: 220.1 kB / 0.5611 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1496, allocations: 384 / 0.5611 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1496, allocations: 4.375 kB / 0.5611 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1498, allocations: 65.92 kB / 0.5611 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1498, allocations: 7.922 kB / 0.5611 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1498, allocations: 0 / 0.5611 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1498, allocations: 0 / 0.5611 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.1499, allocations: 27.98 kB / 0.5612 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.1503, allocations: 300.8 kB / 0.5615 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1506, allocations: 62.47 kB / 0.5615 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.1506, allocations: 20.98 kB / 0.5615 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1506, allocations: 0 / 0.5615 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.1508, allocations: 75.38 kB / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1508, allocations: 0 / 0.5616 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008216/0.1516, allocations: 241.3 kB / 0.5618 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1517, allocations: 55.41 kB / 0.5619 GB, free: 500 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.1519, allocations: 227.3 kB / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1519, allocations: 25.7 kB / 0.5621 GB, free: 224 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.152, allocations: 116.1 kB / 0.5622 GB, free: 104 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.1521, allocations: 31.73 kB / 0.5623 GB, free: 72 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.1521, allocations: 25.72 kB / 0.5623 GB, free: 40 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1523, allocations: 330.8 kB / 0.5626 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.1524, allocations: 31.98 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.1525, allocations: 45.7 kB / 0.5627 GB, free: 15.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1526, allocations: 77.7 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1526, allocations: 0 / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002337/0.1528, allocations: 129.5 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1529, allocations: 4 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1529, allocations: 0 / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1529, allocations: 3.984 kB / 0.5629 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.153, allocations: 27.94 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.153, allocations: 0 / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.153, allocations: 11.92 kB / 0.5629 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1531, allocations: 8.031 kB / 0.5629 GB, free: 15.36 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.0001152/0.1532, allocations: 127.5 kB / 0.5631 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1532, allocations: 15.91 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.1533, allocations: 25.39 kB / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1533, allocations: 0 / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1533, allocations: 0 / 0.5631 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1533, allocations: 3.938 kB / 0.5631 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.1539, allocations: 460 kB / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1539, allocations: 0 / 0.5635 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.1539, allocations: 15.98 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1539, allocations: 3.938 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1539, allocations: 8 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1539, allocations: 0.7031 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1539, allocations: 3.938 kB / 0.5636 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1542, allocations: 237.1 kB / 0.5638 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1543, allocations: 92.95 kB / 0.5639 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1543, allocations: 0 / 0.5639 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.1544, allocations: 8 kB / 0.5639 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1544, allocations: 7.984 kB / 0.5639 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1544, allocations: 4 kB / 0.5639 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1546, allocations: 165.2 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1546, allocations: 7.938 kB / 0.5641 GB, free: 14.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.1549, allocations: 31.92 kB / 0.5641 GB, free: 14.05 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.001879/0.1568, allocations: 0.5017 MB / 0.5646 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.157, allocations: 79.84 kB / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.157, allocations: 0 / 0.5647 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.1571, allocations: 36.09 kB / 0.5647 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1575, allocations: 43.81 kB / 0.5648 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.1581, allocations: 306.2 kB / 0.565 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1584, allocations: 0.7196 MB / 0.5657 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1585, allocations: 19.42 kB / 0.5658 GB, free: 12.48 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1585, allocations: 8 kB / 0.5658 GB, free: 12.47 MB / 430.1 MB Notification: Performance of Templates: time 0.004739/0.1632, allocations: 2.243 MB / 0.568 GB, free: 10.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.909053436946124]