Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2461/0.2461, allocations: 46.93 MB / 357.8 MB, free: 10.35 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 0.4921 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1511, allocations: 66 MB / 0.5566 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003422/0.1545, allocations: 1.695 MB / 0.5582 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1563, allocations: 1.015 MB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.1564, allocations: 3.938 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.1567, allocations: 59.8 kB / 0.5593 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.1571, allocations: 115.5 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1573, allocations: 67.73 kB / 0.5595 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1575, allocations: 107.7 kB / 0.5596 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.1575, allocations: 4.234 kB / 0.5596 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1576, allocations: 47.78 kB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1578, allocations: 51.75 kB / 0.5597 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1578, allocations: 8 kB / 0.5597 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1579, allocations: 39.92 kB / 0.5597 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.1579, allocations: 15.94 kB / 0.5597 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.158, allocations: 39.72 kB / 0.5598 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1582, allocations: 95.59 kB / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1582, allocations: 0 / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1582, allocations: 0 / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1582, allocations: 4 kB / 0.5599 GB, free: 1.934 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.0006264/0.1588, allocations: 414.7 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1589, allocations: 12.03 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.1589, allocations: 12.84 kB / 0.5603 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1593, allocations: 215.2 kB / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.1593, allocations: 384 / 0.5605 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.1593, allocations: 8.125 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1594, allocations: 45.67 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1595, allocations: 0 / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1595, allocations: 0 / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1595, allocations: 4 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.1595, allocations: 19.98 kB / 0.5606 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.1598, allocations: 181.6 kB / 0.5607 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1599, allocations: 54.55 kB / 0.5608 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.16, allocations: 20.8 kB / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.16, allocations: 0 / 0.5608 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.1602, allocations: 71.33 kB / 0.5609 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1602, allocations: 0 / 0.5609 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003425/0.1605, allocations: 105.7 kB / 0.561 GB, free: 0.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1606, allocations: 51.41 kB / 0.561 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1608, allocations: 194.4 kB / 0.5612 GB, free: 372 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1608, allocations: 29.7 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.1609, allocations: 96.14 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.1609, allocations: 23.88 kB / 0.5614 GB, free: 212 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1609, allocations: 21.72 kB / 0.5614 GB, free: 184 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1611, allocations: 318.8 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/0.1612, allocations: 16.05 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.1612, allocations: 29.72 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.1613, allocations: 45.64 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1613, allocations: 4 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001654/0.1615, allocations: 85.53 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1615, allocations: 4 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1615, allocations: 160 / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1615, allocations: 4 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.1616, allocations: 19.92 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1616, allocations: 3.984 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.1617, allocations: 7.938 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1617, allocations: 0 / 0.5619 GB, free: 15.62 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.0001251/0.1618, allocations: 132 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1618, allocations: 11.95 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.1619, allocations: 16.98 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1619, allocations: 3.984 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1619, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1619, allocations: 0 / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1621, allocations: 189.5 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1621, allocations: 0 / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.1621, allocations: 4 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1621, allocations: 0 / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.1621, allocations: 11.98 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1621, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1621, allocations: 0 / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.1623, allocations: 117 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1624, allocations: 89 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.1624, allocations: 0 / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.1624, allocations: 0 / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1625, allocations: 15.98 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1625, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1626, allocations: 148.2 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1626, allocations: 4 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.1628, allocations: 12 kB / 0.5626 GB, free: 14.79 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.00151/0.1644, allocations: 412.8 kB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1645, allocations: 43.92 kB / 0.563 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1645, allocations: 4.062 kB / 0.5631 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.1646, allocations: 15.98 kB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1649, allocations: 29.73 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1654, allocations: 235.7 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1658, allocations: 0.704 MB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1658, allocations: 15.38 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1658, allocations: 4 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of Templates: time 0.003876/0.1697, allocations: 1.725 MB / 0.5657 GB, free: 11.71 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.086285903002135]