Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001549/0.001549, allocations: 113.6 kB / 18.5 MB, free: 4.562 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.001786/0.001786, allocations: 197 kB / 21.45 MB, free: 1.613 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.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.24/0.24, 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 91.83 kB / 0.4918 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1439, allocations: 65.98 MB / 0.5562 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003739/0.1477, allocations: 1.7 MB / 0.5579 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1497, allocations: 1.018 MB / 0.5589 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1498, allocations: 3.938 kB / 0.5589 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1502, allocations: 79.77 kB / 0.559 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.1507, allocations: 123.4 kB / 0.5591 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.151, allocations: 75.72 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1512, allocations: 103.7 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.1513, allocations: 4.234 kB / 0.5593 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1514, allocations: 59.75 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1515, allocations: 59.75 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1515, allocations: 4 kB / 0.5594 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1516, allocations: 35.98 kB / 0.5594 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1517, allocations: 19.92 kB / 0.5594 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.1518, allocations: 35.69 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.152, allocations: 111.5 kB / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.152, allocations: 0 / 0.5596 GB, free: 2.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.152, allocations: 4 kB / 0.5596 GB, free: 2.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.152, allocations: 0 / 0.5596 GB, free: 2.117 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006663/0.1527, allocations: 426.6 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1528, allocations: 12.03 kB / 0.56 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1528, allocations: 12.84 kB / 0.56 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1532, allocations: 216.1 kB / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1532, allocations: 384 / 0.5602 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1532, allocations: 4.375 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1533, allocations: 57.92 kB / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1534, allocations: 0 / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1534, allocations: 4 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1534, allocations: 4 kB / 0.5603 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.905e-05/0.1534, allocations: 15.98 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.1537, allocations: 177.7 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.1539, allocations: 46.62 kB / 0.5605 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/0.1539, allocations: 20.84 kB / 0.5605 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.1539, allocations: 7.938 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.1541, allocations: 71.27 kB / 0.5606 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1541, allocations: 4 kB / 0.5606 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002893/0.1544, allocations: 93.58 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1544, allocations: 55.39 kB / 0.5608 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1547, allocations: 219.5 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1547, allocations: 29.7 kB / 0.561 GB, free: 476 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.1548, allocations: 104.1 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1548, allocations: 15.89 kB / 0.5611 GB, free: 352 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1548, allocations: 25.64 kB / 0.5611 GB, free: 320 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.155, allocations: 322.8 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.1551, allocations: 15.98 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.1551, allocations: 29.7 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1552, allocations: 45.95 kB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.1552, allocations: 4 kB / 0.5615 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001705/0.1554, allocations: 93.47 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1554, allocations: 4 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1554, allocations: 0 / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1554, allocations: 4 kB / 0.5616 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.1555, allocations: 11.98 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1555, allocations: 0 / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1556, allocations: 11.97 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1556, allocations: 0 / 0.5616 GB, free: 15.75 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 (7): * Single equations (assignments): 7 * 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.0001095/0.1557, allocations: 130.6 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1557, allocations: 15.84 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1557, allocations: 17 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1557, allocations: 3.984 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1558, allocations: 3.984 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1558, allocations: 0 / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1559, allocations: 185.6 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1559, allocations: 8 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.156, allocations: 7.922 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.156, allocations: 4 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.156, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.156, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.156, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1562, allocations: 109 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.423e-05/0.1562, allocations: 89 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1562, allocations: 7.938 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.825e-05/0.1563, allocations: 4 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1563, allocations: 3.984 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1563, allocations: 4.125 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1565, allocations: 169.1 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1565, allocations: 0 / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1567, allocations: 23.94 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001505/0.1582, allocations: 408.9 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1584, allocations: 39.98 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1584, allocations: 0 / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.1584, allocations: 15.94 kB / 0.5628 GB, free: 14.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1587, allocations: 39.59 kB / 0.5629 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.1592, allocations: 230.3 kB / 0.5631 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.1596, allocations: 0.708 MB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.294e-05/0.1597, allocations: 20.78 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.1597, allocations: 11.44 kB / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1597, allocations: 0 / 0.5638 GB, free: 13.51 MB / 430.1 MB Notification: Performance of Templates: time 0.004682/0.1644, allocations: 1.522 MB / 0.5653 GB, free: 12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.333738402463496]