Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001523/0.001523, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.002114/0.002114, allocations: 209.1 kB / 24.48 MB, free: 3.973 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2382/0.2382, allocations: 46.96 MB / 361.6 MB, free: 4.164 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 63.91 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3549, allocations: 66.03 MB / 0.5619 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.00311/0.3581, allocations: 1.667 MB / 0.5635 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.3598, allocations: 0.9549 MB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.3599, allocations: 0 / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.3602, allocations: 51.77 kB / 0.5645 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3605, allocations: 103.5 kB / 0.5646 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.3607, allocations: 79.72 kB / 0.5647 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.3608, allocations: 99.62 kB / 0.5648 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.3609, allocations: 4.234 kB / 0.5648 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.164e-05/0.361, allocations: 43.78 kB / 0.5648 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.3611, allocations: 31.86 kB / 0.5648 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3611, allocations: 4 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.3612, allocations: 35.98 kB / 0.5649 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.3612, allocations: 27.86 kB / 0.5649 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/0.3613, allocations: 39.66 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.3615, allocations: 122 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3615, allocations: 0 / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3615, allocations: 0 / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3615, allocations: 0 / 0.565 GB, free: 0.9336 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.0005956/0.3621, allocations: 369.4 kB / 0.5654 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3622, allocations: 8.031 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.3622, allocations: 16.89 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3625, allocations: 163.2 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3625, allocations: 4.359 kB / 0.5656 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3625, allocations: 8.125 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3627, allocations: 53.61 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3627, allocations: 0 / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3627, allocations: 4 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3627, allocations: 4 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.3628, allocations: 15.98 kB / 0.5657 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.363, allocations: 133.3 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3632, allocations: 58.61 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.3632, allocations: 20.84 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3633, allocations: 0 / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.3634, allocations: 71.27 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.3634, allocations: 3.938 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002981/0.3637, allocations: 105.5 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.3638, allocations: 55.39 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.3641, allocations: 278.8 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3641, allocations: 25.7 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.3642, allocations: 116.1 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3642, allocations: 11.91 kB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3642, allocations: 25.64 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3644, allocations: 326.8 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.3645, allocations: 19.98 kB / 0.5669 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.3645, allocations: 25.72 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3646, allocations: 45.7 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3646, allocations: 0 / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001795/0.3648, allocations: 97.45 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3648, allocations: 8 kB / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3648, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3648, allocations: 0 / 0.567 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.027e-05/0.3649, allocations: 8 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3649, allocations: 0 / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.355e-05/0.365, allocations: 15.88 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.365, allocations: 4 kB / 0.5671 GB, free: 14.68 MB / 414.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.0001249/0.3651, allocations: 133.8 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3651, allocations: 23.88 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.3654, allocations: 107.1 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3654, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3654, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3654, allocations: 0 / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3655, allocations: 145.3 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3655, allocations: 0 / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.3656, allocations: 4 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3656, allocations: 3.938 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3656, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3656, allocations: 8 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3656, allocations: 0 / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3658, allocations: 125 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.3658, allocations: 15.84 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3658, allocations: 7.922 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.3659, allocations: 3.984 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.3659, allocations: 4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3659, allocations: 11.98 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.3661, allocations: 200.6 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3661, allocations: 0 / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3664, allocations: 16 kB / 0.5678 GB, free: 13.82 MB / 414.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 (6): * Single equations (assignments): 4 * 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.001608/0.368, allocations: 444.6 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.3681, allocations: 43.92 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3681, allocations: 4 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.3682, allocations: 19.98 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3685, allocations: 23.86 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.369, allocations: 312.1 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.3691, allocations: 105.8 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.3692, allocations: 19.42 kB / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3692, allocations: 0 / 0.5688 GB, free: 13 MB / 414.1 MB Notification: Performance of Templates: time 0.004027/0.3732, allocations: 1.931 MB / 0.5706 GB, free: 11.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.998251065000659]