Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001582/0.001582, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001883/0.001883, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.467/1.467, allocations: 230.2 MB / 255.1 MB, free: 15.23 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.2293/0.2293, allocations: 46.88 MB / 358.1 MB, free: 10.52 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77") [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.002296/0.002296, allocations: 87.86 kB / 0.4925 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1467, allocations: 65.99 MB / 0.5569 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003707/0.1504, allocations: 1.925 MB / 0.5588 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1524, allocations: 1.134 MB / 0.5599 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.1525, allocations: 0 / 0.5599 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.153, allocations: 167.5 kB / 0.56 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.1535, allocations: 187.2 kB / 0.5602 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.1538, allocations: 115.6 kB / 0.5603 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.1542, allocations: 251.3 kB / 0.5606 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1543, allocations: 13.69 kB / 0.5606 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1545, allocations: 115.5 kB / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.1547, allocations: 143.5 kB / 0.5608 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.1547, allocations: 8 kB / 0.5608 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1549, allocations: 59.98 kB / 0.5609 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.155, allocations: 59.7 kB / 0.561 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.511e-05/0.1551, allocations: 79.36 kB / 0.561 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.1555, allocations: 231 kB / 0.5612 GB, free: 1.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1555, allocations: 3.984 kB / 0.5613 GB, free: 1.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1555, allocations: 4 kB / 0.5613 GB, free: 1.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1555, allocations: 0 / 0.5613 GB, free: 1.336 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009118/0.1564, allocations: 0.5406 MB / 0.5618 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1564, allocations: 12.03 kB / 0.5618 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.1565, allocations: 32.73 kB / 0.5618 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.157, allocations: 275.8 kB / 0.5621 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.157, allocations: 16.34 kB / 0.5621 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.157, allocations: 8.375 kB / 0.5621 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1573, allocations: 117.1 kB / 0.5622 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1573, allocations: 3.938 kB / 0.5622 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1574, allocations: 4 kB / 0.5622 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1574, allocations: 4 kB / 0.5622 GB, free: 244 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1575, allocations: 39.97 kB / 0.5623 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.1582, allocations: 476.8 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.1586, allocations: 117.2 kB / 0.5628 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1587, allocations: 45.83 kB / 0.5629 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1587, allocations: 3.938 kB / 0.5629 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.159, allocations: 128.3 kB / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/0.159, allocations: 0 / 0.563 GB, free: 15.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001389/0.1604, allocations: 0.4896 MB / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.1604, allocations: 81.11 kB / 0.5636 GB, free: 14.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004846/0.1609, allocations: 367.3 kB / 0.5639 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1609, allocations: 33.7 kB / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.1611, allocations: 148.5 kB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/0.1611, allocations: 79.36 kB / 0.5642 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.1612, allocations: 41.7 kB / 0.5642 GB, free: 14.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002695/0.1615, allocations: 346.8 kB / 0.5645 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1616, allocations: 59.97 kB / 0.5646 GB, free: 13.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1618, allocations: 91.34 kB / 0.5647 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.1621, allocations: 163.3 kB / 0.5648 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1621, allocations: 0 / 0.5648 GB, free: 13.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004204/0.1625, allocations: 225.7 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1625, allocations: 9.562 kB / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1625, allocations: 0 / 0.5651 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.1626, allocations: 7.938 kB / 0.5651 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1627, allocations: 43.91 kB / 0.5651 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1627, allocations: 4 kB / 0.5651 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.08e-05/0.1628, allocations: 12.06 kB / 0.5651 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1628, allocations: 8 kB / 0.5651 GB, free: 13.08 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001737/0.163, allocations: 161.8 kB / 0.5653 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.163, allocations: 27.81 kB / 0.5653 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.976e-05/0.1631, allocations: 41.77 kB / 0.5654 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1631, allocations: 0 / 0.5654 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.1632, allocations: 8 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1632, allocations: 3.984 kB / 0.5654 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.1642, allocations: 0.7155 MB / 0.5661 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1642, allocations: 7.938 kB / 0.5661 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.1643, allocations: 31.92 kB / 0.5661 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1643, allocations: 0 / 0.5661 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1643, allocations: 8 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1643, allocations: 8.125 kB / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1643, allocations: 0 / 0.5661 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.1649, allocations: 428.2 kB / 0.5665 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.238e-05/0.165, allocations: 100.9 kB / 0.5666 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.165, allocations: 11.98 kB / 0.5666 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1651, allocations: 12 kB / 0.5666 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1652, allocations: 23.91 kB / 0.5667 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1652, allocations: 11.94 kB / 0.5667 GB, free: 11.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003221/0.1656, allocations: 273.9 kB / 0.5669 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1656, allocations: 0 / 0.5669 GB, free: 11.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1659, allocations: 55.92 kB / 0.567 GB, free: 11.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002098/0.168, allocations: 0.5121 MB / 0.5675 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.1684, allocations: 143.8 kB / 0.5676 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1684, allocations: 0 / 0.5676 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.1686, allocations: 76.22 kB / 0.5677 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.1692, allocations: 69.77 kB / 0.5678 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.1702, allocations: 0.5331 MB / 0.5683 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.1706, allocations: 0.7636 MB / 0.569 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.1707, allocations: 31.44 kB / 0.5691 GB, free: 9.047 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1707, allocations: 0 / 0.5691 GB, free: 9.047 MB / 430.1 MB Notification: Performance of Templates: time 0.006653/0.1774, allocations: 3.616 MB / 0.5726 GB, free: 5.441 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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: 8.149625436170027]