Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.00163/0.00163, allocations: 120.8 kB / 20.33 MB, free: 1.543 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.001741/0.001741, allocations: 210.2 kB / 23.61 MB, free: 4.934 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.608/1.608, allocations: 230.5 MB / 257.2 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.91 MB / 358.6 MB, free: 6.328 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 0.4932 GB, free: 10.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.36, allocations: 65.48 MB / 0.5572 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003663/0.3636, allocations: 1.708 MB / 0.5589 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3655, allocations: 1.022 MB / 0.5599 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.3656, allocations: 4 kB / 0.5599 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.3659, allocations: 51.75 kB / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.3662, allocations: 99.59 kB / 0.56 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3664, allocations: 79.66 kB / 0.5601 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3666, allocations: 95.7 kB / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.3667, allocations: 240 / 0.5602 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3668, allocations: 55.72 kB / 0.5602 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.3669, allocations: 31.78 kB / 0.5603 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3669, allocations: 4 kB / 0.5603 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.367, allocations: 35.98 kB / 0.5603 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.3671, allocations: 27.92 kB / 0.5603 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3671, allocations: 39.67 kB / 0.5604 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3674, allocations: 129.8 kB / 0.5605 GB, free: 4.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3674, allocations: 3.938 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3674, allocations: 0 / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3674, allocations: 0 / 0.5605 GB, free: 4.344 MB / 398.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.0006409/0.368, allocations: 361.4 kB / 0.5608 GB, free: 3.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.368, allocations: 11.97 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.3681, allocations: 12.89 kB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.3685, allocations: 167.2 kB / 0.561 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3685, allocations: 4.375 kB / 0.561 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3685, allocations: 4.125 kB / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3687, allocations: 49.67 kB / 0.5611 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3687, allocations: 0 / 0.5611 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3687, allocations: 4 kB / 0.5611 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3687, allocations: 3.938 kB / 0.5611 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.3688, allocations: 11.98 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.369, allocations: 168.8 kB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3692, allocations: 46.62 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.3693, allocations: 20.78 kB / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.3693, allocations: 4 kB / 0.5613 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3695, allocations: 71.33 kB / 0.5614 GB, free: 3.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.3695, allocations: 0 / 0.5614 GB, free: 3.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003315/0.3698, allocations: 97.58 kB / 0.5615 GB, free: 3.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.3699, allocations: 51.41 kB / 0.5615 GB, free: 3.129 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.3702, allocations: 275.8 kB / 0.5618 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3702, allocations: 25.7 kB / 0.5618 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.3703, allocations: 120.1 kB / 0.5619 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3704, allocations: 11.91 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.3704, allocations: 21.72 kB / 0.562 GB, free: 2.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3706, allocations: 330.8 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/0.3706, allocations: 12.25 kB / 0.5623 GB, free: 2.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.102e-05/0.3707, allocations: 33.64 kB / 0.5623 GB, free: 2.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3708, allocations: 45.7 kB / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3708, allocations: 0 / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.371, allocations: 93.47 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.371, allocations: 4 kB / 0.5625 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.371, allocations: 4 kB / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.371, allocations: 0 / 0.5625 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.3711, allocations: 8 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3711, allocations: 3.984 kB / 0.5625 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.3712, allocations: 19.83 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3712, allocations: 0 / 0.5625 GB, free: 2.086 MB / 398.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.0001445/0.3713, allocations: 137.8 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3714, allocations: 19.94 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.3716, allocations: 98.84 kB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3716, allocations: 4 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3716, allocations: 3.984 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3716, allocations: 0 / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3718, allocations: 168.6 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3718, allocations: 4 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.714e-05/0.3718, allocations: 0 / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3718, allocations: 4 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3718, allocations: 0 / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3718, allocations: 4 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3718, allocations: 128 / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3721, allocations: 124.9 kB / 0.563 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.3721, allocations: 11.91 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3721, allocations: 0 / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.3722, allocations: 3.984 kB / 0.563 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3722, allocations: 4 kB / 0.563 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3722, allocations: 8 kB / 0.5631 GB, free: 1.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3724, allocations: 204.6 kB / 0.5633 GB, free: 1.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3724, allocations: 0 / 0.5633 GB, free: 1.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.3726, allocations: 19.94 kB / 0.5633 GB, free: 1.199 MB / 398.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.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001534/0.3742, allocations: 413.4 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000182/0.3743, allocations: 39.92 kB / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3743, allocations: 0 / 0.5637 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.3744, allocations: 20.05 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3747, allocations: 34.42 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.3753, allocations: 262.5 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3754, allocations: 101.8 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.291e-05/0.3755, allocations: 12.48 kB / 0.5641 GB, free: 452 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.3755, allocations: 15.44 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3755, allocations: 0 / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of Templates: time 0.005604/0.3811, allocations: 1.583 MB / 0.5657 GB, free: 14.85 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.314609033986926]