Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001335/0.001335, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.002204/0.002204, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.631/1.631, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2506/0.2506, allocations: 46.9 MB / 357.4 MB, free: 10.45 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 0.4918 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1461, allocations: 66 MB / 0.5563 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003702/0.1498, allocations: 1.736 MB / 0.558 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1517, allocations: 1.038 MB / 0.559 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1518, allocations: 0 / 0.559 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1521, allocations: 39.77 kB / 0.559 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1524, allocations: 87.61 kB / 0.5591 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1526, allocations: 83.67 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1528, allocations: 103.7 kB / 0.5593 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1529, allocations: 16 kB / 0.5593 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.153, allocations: 43.78 kB / 0.5593 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.1531, allocations: 31.78 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1531, allocations: 4 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1532, allocations: 43.98 kB / 0.5594 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.1532, allocations: 19.92 kB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1533, allocations: 39.72 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1535, allocations: 111.5 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1535, allocations: 3.984 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1535, allocations: 4 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1535, allocations: 0 / 0.5596 GB, free: 2.113 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005798/0.1541, allocations: 406.8 kB / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1541, allocations: 8.031 kB / 0.56 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1542, allocations: 12.89 kB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1545, allocations: 204.2 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1545, allocations: 384 / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1545, allocations: 4.375 kB / 0.5602 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1547, allocations: 61.98 kB / 0.5602 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1547, allocations: 3.984 kB / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1547, allocations: 0 / 0.5602 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1548, allocations: 4 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1548, allocations: 27.92 kB / 0.5603 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.1552, allocations: 288.8 kB / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1554, allocations: 58.67 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.1555, allocations: 24.78 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1555, allocations: 3.984 kB / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.1556, allocations: 67.33 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1556, allocations: 0 / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005572/0.1562, allocations: 169.4 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1562, allocations: 59.41 kB / 0.5609 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1564, allocations: 166.2 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.1564, allocations: 29.7 kB / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.1565, allocations: 100.1 kB / 0.5612 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1565, allocations: 23.8 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1566, allocations: 21.7 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1568, allocations: 330.7 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.1568, allocations: 24 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.1569, allocations: 33.7 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.157, allocations: 65.64 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.157, allocations: 0 / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.1572, allocations: 101.6 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1572, allocations: 8 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1572, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1572, allocations: 4.031 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.1573, allocations: 15.94 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1573, allocations: 0 / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.1574, allocations: 11.98 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.1574, allocations: 4 kB / 0.5618 GB, free: 15.58 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 (10): * Single equations (assignments): 10 * 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.0001051/0.1575, allocations: 117.8 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1575, allocations: 11.95 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.1575, allocations: 16.7 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1575, allocations: 4 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1575, allocations: 0 / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1576, allocations: 0 / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.158, allocations: 399.2 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.158, allocations: 384 / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1581, allocations: 15.92 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1581, allocations: 0 / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1581, allocations: 4 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1581, allocations: 11.88 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1581, allocations: 4.031 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1583, allocations: 196.3 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1584, allocations: 85.02 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1584, allocations: 8 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.1585, allocations: 7.922 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.1585, allocations: 4 kB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1585, allocations: 8 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1587, allocations: 136 kB / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1587, allocations: 0 / 0.5628 GB, free: 14.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1589, allocations: 27.94 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001673/0.1606, allocations: 452.1 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.1608, allocations: 55.97 kB / 0.5633 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1608, allocations: 7.875 kB / 0.5633 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.1608, allocations: 23.98 kB / 0.5633 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1612, allocations: 33.55 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.1617, allocations: 223.1 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1621, allocations: 0.7079 MB / 0.5643 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.1621, allocations: 13.19 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.1622, allocations: 15.44 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1622, allocations: 0 / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Templates: time 0.005084/0.1672, allocations: 1.744 MB / 0.566 GB, free: 11.29 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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: 5.333049855194986]