Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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: 111.1 kB / 20.44 MB, free: 1.184 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.001646/0.001646, allocations: 208.3 kB / 23.72 MB, free: 4.391 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.586/1.586, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2477/0.2477, allocations: 44.94 MB / 358.8 MB, free: 6.066 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [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.002189/0.002189, allocations: 71.89 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3515, allocations: 65.47 MB / 0.5575 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003486/0.355, allocations: 1.709 MB / 0.5592 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.357, allocations: 0.9638 MB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.3571, allocations: 0 / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3574, allocations: 47.75 kB / 0.5602 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.3577, allocations: 95.48 kB / 0.5603 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.3579, allocations: 79.67 kB / 0.5603 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3581, allocations: 115.7 kB / 0.5604 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.3582, allocations: 4 kB / 0.5605 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.3583, allocations: 43.78 kB / 0.5605 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.3584, allocations: 35.78 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3584, allocations: 4 kB / 0.5605 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3585, allocations: 43.92 kB / 0.5606 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.3586, allocations: 23.92 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.3586, allocations: 27.8 kB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3589, allocations: 125.9 kB / 0.5607 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3589, allocations: 0 / 0.5607 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3589, allocations: 0 / 0.5607 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3589, allocations: 4 kB / 0.5607 GB, free: 4.133 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006054/0.3595, allocations: 351.6 kB / 0.5611 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3595, allocations: 8.031 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.3596, allocations: 12.89 kB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.3598, allocations: 155 kB / 0.5613 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3599, allocations: 384 / 0.5613 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.3599, allocations: 8.125 kB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3601, allocations: 53.67 kB / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3601, allocations: 0 / 0.5613 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3601, allocations: 8 kB / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3601, allocations: 0 / 0.5613 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.3602, allocations: 23.98 kB / 0.5613 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3606, allocations: 236.5 kB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3608, allocations: 54.67 kB / 0.5616 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.3609, allocations: 20.84 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3609, allocations: 4 kB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.361, allocations: 67.33 kB / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.361, allocations: 0 / 0.5617 GB, free: 3.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006234/0.3617, allocations: 189.3 kB / 0.5619 GB, free: 2.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.3617, allocations: 59.34 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.3619, allocations: 202.3 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.362, allocations: 25.7 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.362, allocations: 108.1 kB / 0.5623 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3621, allocations: 27.78 kB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3621, allocations: 17.72 kB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3623, allocations: 326.8 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.3624, allocations: 23.98 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.3624, allocations: 45.64 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3626, allocations: 65.72 kB / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3626, allocations: 0 / 0.5627 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.3628, allocations: 113.5 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3628, allocations: 4 kB / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3628, allocations: 0 / 0.5629 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3628, allocations: 3.938 kB / 0.5629 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.3629, allocations: 19.94 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.3629, allocations: 3.984 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.363, allocations: 4.406 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.363, allocations: 4 kB / 0.5629 GB, free: 1.75 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 (10): * Single equations (assignments): 10 * 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.0001185/0.3631, allocations: 125.8 kB / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3631, allocations: 19.89 kB / 0.563 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.3634, allocations: 123 kB / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3634, allocations: 0 / 0.5632 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3634, allocations: 4 kB / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3634, allocations: 0 / 0.5632 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.3639, allocations: 350.9 kB / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3639, allocations: 0 / 0.5635 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.364, allocations: 8 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.364, allocations: 4 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.364, allocations: 4 kB / 0.5635 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.364, allocations: 0 / 0.5635 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.364, allocations: 7.938 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.3643, allocations: 212.2 kB / 0.5637 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3643, allocations: 7.953 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3643, allocations: 8.375 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/0.3644, allocations: 0 / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3644, allocations: 19.89 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3645, allocations: 4 kB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001604/0.3646, allocations: 160.2 kB / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3646, allocations: 0 / 0.5639 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3649, allocations: 27.92 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001951/0.3668, allocations: 490.5 kB / 0.5644 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3671, allocations: 59.91 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3671, allocations: 0 / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.3671, allocations: 31.92 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3675, allocations: 36.09 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.3681, allocations: 238.7 kB / 0.5648 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.789e-05/0.3682, allocations: 96.31 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.427e-05/0.3682, allocations: 12.97 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3683, allocations: 19.44 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3683, allocations: 0 / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Templates: time 0.00554/0.3738, allocations: 1.911 MB / 0.5667 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.423622393980622]