Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.002003/0.002003, allocations: 103.6 kB / 21.19 MB, free: 0.6523 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.002793/0.002793, allocations: 211.6 kB / 24.48 MB, free: 3.957 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2249/0.2249, allocations: 44.94 MB / 359.6 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [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.002206/0.002206, allocations: 71.89 kB / 0.4943 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3503, allocations: 65.48 MB / 0.5583 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003215/0.3535, allocations: 1.662 MB / 0.5599 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3553, allocations: 0.952 MB / 0.5608 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.3553, allocations: 0 / 0.5608 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3557, allocations: 55.75 kB / 0.5609 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.356, allocations: 107.5 kB / 0.561 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3562, allocations: 67.73 kB / 0.561 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3563, allocations: 99.69 kB / 0.5611 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.3564, allocations: 4.234 kB / 0.5611 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.024e-05/0.3565, allocations: 43.78 kB / 0.5612 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.421e-05/0.3566, allocations: 35.78 kB / 0.5612 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3566, allocations: 4 kB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.3567, allocations: 39.98 kB / 0.5612 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.3567, allocations: 23.86 kB / 0.5613 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.3568, allocations: 35.69 kB / 0.5613 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.357, allocations: 125.8 kB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.357, allocations: 0 / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.357, allocations: 0 / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.357, allocations: 0 / 0.5614 GB, free: 4.215 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.0005767/0.3576, allocations: 369.4 kB / 0.5618 GB, free: 3.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3576, allocations: 12.03 kB / 0.5618 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.3577, allocations: 8.891 kB / 0.5618 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3579, allocations: 167.2 kB / 0.562 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.358, allocations: 384 / 0.562 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.358, allocations: 4.125 kB / 0.562 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3581, allocations: 57.61 kB / 0.562 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3581, allocations: 3.984 kB / 0.562 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.3581, allocations: 3.938 kB / 0.562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3581, allocations: 0 / 0.562 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.3582, allocations: 19.98 kB / 0.562 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.3584, allocations: 137.3 kB / 0.5622 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3586, allocations: 54.61 kB / 0.5622 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.3586, allocations: 16.86 kB / 0.5622 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.3586, allocations: 3.938 kB / 0.5622 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.3588, allocations: 71.31 kB / 0.5623 GB, free: 3.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3588, allocations: 0 / 0.5623 GB, free: 3.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003035/0.3591, allocations: 105.6 kB / 0.5624 GB, free: 3.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3591, allocations: 51.41 kB / 0.5625 GB, free: 3.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.3594, allocations: 279.8 kB / 0.5627 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3595, allocations: 29.64 kB / 0.5628 GB, free: 2.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3596, allocations: 120.1 kB / 0.5629 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3596, allocations: 11.91 kB / 0.5629 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3596, allocations: 17.72 kB / 0.5629 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3598, allocations: 330.8 kB / 0.5632 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.3598, allocations: 12 kB / 0.5632 GB, free: 2.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.3599, allocations: 29.7 kB / 0.5633 GB, free: 2.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.36, allocations: 45.7 kB / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.36, allocations: 0 / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001752/0.3602, allocations: 97.47 kB / 0.5634 GB, free: 2.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3602, allocations: 4 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3602, allocations: 4.312 kB / 0.5634 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3603, allocations: 3.984 kB / 0.5634 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.3603, allocations: 8 kB / 0.5634 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3603, allocations: 4 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.3604, allocations: 11.89 kB / 0.5634 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3604, allocations: 3.938 kB / 0.5634 GB, free: 1.969 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.0001208/0.3605, allocations: 137.8 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3605, allocations: 19.84 kB / 0.5636 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.3608, allocations: 106.8 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3608, allocations: 0 / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3608, allocations: 0 / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3608, allocations: 0 / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.3609, allocations: 141.3 kB / 0.5638 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3609, allocations: 3.938 kB / 0.5638 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.361, allocations: 4 kB / 0.5638 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.361, allocations: 3.938 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.361, allocations: 3.984 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.361, allocations: 3.938 kB / 0.5638 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.361, allocations: 8 kB / 0.5638 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.3612, allocations: 117 kB / 0.564 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.3612, allocations: 15.84 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3612, allocations: 4 kB / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.813e-05/0.3613, allocations: 0 / 0.564 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.3613, allocations: 7.984 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3613, allocations: 0 / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.3615, allocations: 208.6 kB / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3615, allocations: 0 / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3617, allocations: 20 kB / 0.5642 GB, free: 1.109 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 (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.001636/0.3634, allocations: 450.4 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3636, allocations: 47.91 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3636, allocations: 0 / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.3637, allocations: 19.94 kB / 0.5647 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3639, allocations: 29.28 kB / 0.5647 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.3645, allocations: 308.1 kB / 0.565 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3646, allocations: 109.8 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.3646, allocations: 15.44 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3646, allocations: 0 / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of Templates: time 0.00435/0.369, allocations: 1.93 MB / 0.567 GB, free: 14.35 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.085996031295508]