Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001895/0.001895, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002489/0.002489, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 7.82 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.2287/0.2287, allocations: 44.94 MB / 359.6 MB, free: 6.07 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [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.002342/0.002342, allocations: 67.89 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3477, allocations: 65.48 MB / 0.5583 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004003/0.3517, allocations: 1.866 MB / 0.5601 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3538, allocations: 1.073 MB / 0.5611 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3539, allocations: 7.938 kB / 0.5612 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.3544, allocations: 159.5 kB / 0.5613 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.3549, allocations: 191.3 kB / 0.5615 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.3552, allocations: 119.5 kB / 0.5616 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.3555, allocations: 251.3 kB / 0.5618 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3557, allocations: 13.97 kB / 0.5619 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3558, allocations: 107.6 kB / 0.562 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.356, allocations: 139.5 kB / 0.5621 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.356, allocations: 8 kB / 0.5621 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3562, allocations: 67.97 kB / 0.5622 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.3563, allocations: 55.77 kB / 0.5622 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3564, allocations: 71.48 kB / 0.5623 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.3567, allocations: 225.3 kB / 0.5625 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.3567, allocations: 4 kB / 0.5625 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3567, allocations: 0 / 0.5625 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3567, allocations: 0 / 0.5625 GB, free: 3.117 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007698/0.3575, allocations: 484.5 kB / 0.563 GB, free: 2.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3575, allocations: 11.97 kB / 0.563 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.3576, allocations: 28.75 kB / 0.563 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.358, allocations: 214.6 kB / 0.5632 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.358, allocations: 12.38 kB / 0.5632 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.3581, allocations: 12.12 kB / 0.5632 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.3583, allocations: 114.3 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.3583, allocations: 3.938 kB / 0.5633 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3584, allocations: 0 / 0.5633 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3584, allocations: 4 kB / 0.5633 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.3585, allocations: 47.95 kB / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3591, allocations: 408.4 kB / 0.5638 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.3595, allocations: 121.2 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3596, allocations: 45.77 kB / 0.5639 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3596, allocations: 4 kB / 0.5639 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.3599, allocations: 121 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.3599, allocations: 0 / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001344/0.3612, allocations: 0.5052 MB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.3613, allocations: 89.11 kB / 0.5646 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.3617, allocations: 380.5 kB / 0.565 GB, free: 388 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.3617, allocations: 33.7 kB / 0.565 GB, free: 348 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3619, allocations: 148.5 kB / 0.5652 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.362, allocations: 79.36 kB / 0.5652 GB, free: 112 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.362, allocations: 41.72 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3622, allocations: 342.8 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3624, allocations: 59.97 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.3625, allocations: 91.34 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.3628, allocations: 167.5 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3628, allocations: 0 / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004204/0.3632, allocations: 245.1 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3633, allocations: 4 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3633, allocations: 7.938 kB / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3633, allocations: 0 / 0.5662 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.3634, allocations: 47.97 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3634, allocations: 4.062 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.3635, allocations: 15.94 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3635, allocations: 8 kB / 0.5662 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001629/0.3637, allocations: 158.3 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.3637, allocations: 31.81 kB / 0.5664 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.3643, allocations: 275.7 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3643, allocations: 7.984 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3643, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3643, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.3653, allocations: 0.6644 MB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3653, allocations: 7.984 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.3654, allocations: 27.94 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.3654, allocations: 7.984 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.3654, allocations: 8 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3654, allocations: 4 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3654, allocations: 0 / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.366, allocations: 451.4 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.366, allocations: 23.86 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.3661, allocations: 7.984 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3662, allocations: 8 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.3663, allocations: 23.91 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3663, allocations: 12.17 kB / 0.5679 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.3666, allocations: 287 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3666, allocations: 3.938 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.367, allocations: 55.88 kB / 0.5682 GB, free: 12.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002142/0.3691, allocations: 0.5543 MB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.3695, allocations: 163.7 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3695, allocations: 0 / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.3697, allocations: 79.84 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.3703, allocations: 66.25 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3713, allocations: 0.5452 MB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.3715, allocations: 153.5 kB / 0.5697 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.3716, allocations: 31.44 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3716, allocations: 0 / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of Templates: time 0.007352/0.3789, allocations: 3.701 MB / 0.5734 GB, free: 7.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.152019449975342]