Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.000971/0.000971, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001233/0.001233, allocations: 174.5 kB / 24.91 MB, free: 8.773 MB / 18.57 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 0.9998/0.9998, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] 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.2585/0.2585, allocations: 32.81 MB / 294.6 MB, free: 1.145 MB / 266.7 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.029e-05, allocations: 5.156 kB / 323.4 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003016/0.003046, allocations: 1.954 MB / 325.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.004563, allocations: 1.121 MB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.004662, allocations: 4 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.005097, allocations: 231.2 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.005519, allocations: 223 kB / 326.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.005837, allocations: 107.6 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.006179, allocations: 267.2 kB / 327.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006294, allocations: 15.25 kB / 327.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.006478, allocations: 147.6 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.006638, allocations: 139.6 kB / 327.6 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.006662, allocations: 12 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.006781, allocations: 67.86 kB / 327.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.006853, allocations: 67.75 kB / 327.7 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.006905, allocations: 47.78 kB / 327.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.007151, allocations: 191.2 kB / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007154, allocations: 0 / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007155, allocations: 0 / 327.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.007159, allocations: 3.938 kB / 327.9 MB, free: 4.965 MB / 298.7 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.0005105/0.00767, allocations: 484 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.007715, allocations: 8.031 kB / 328.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.007757, allocations: 24.92 kB / 328.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.00798, allocations: 209.8 kB / 328.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.007998, allocations: 8.359 kB / 328.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.008021, allocations: 12.36 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.008187, allocations: 111.4 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.008201, allocations: 3.938 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.00821, allocations: 0 / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.008217, allocations: 8 kB / 328.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.008266, allocations: 29.64 kB / 328.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.008691, allocations: 304.8 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.008961, allocations: 182.6 kB / 329.3 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.009008, allocations: 37.83 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.009027, allocations: 4 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.009196, allocations: 116.7 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.009198, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007405/0.009938, allocations: 313.7 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.009977, allocations: 77.11 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.0102, allocations: 332.5 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01023, allocations: 33.7 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.01027, allocations: 113.6 kB / 330.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.01033, allocations: 79.39 kB / 330.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.01039, allocations: 41.69 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.0105, allocations: 346.7 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.01053, allocations: 22.81 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.0106, allocations: 67.33 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.01072, allocations: 100 kB / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01072, allocations: 0 / 330.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001902/0.01091, allocations: 139.1 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01093, allocations: 8 kB / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01094, allocations: 0 / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.01096, allocations: 0 / 331.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01107, allocations: 47.91 kB / 331.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01108, allocations: 4.297 kB / 331.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.01113, allocations: 15.89 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.01115, allocations: 11.98 kB / 331.2 MB, free: 1.504 MB / 298.7 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.0001136/0.01126, allocations: 128.6 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.0113, allocations: 27.98 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.01152, allocations: 153.4 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.01153, allocations: 4 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.01153, allocations: 0 / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.01154, allocations: 3.938 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005938/0.01214, allocations: 0.5633 MB / 332 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01214, allocations: 0 / 332 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.01221, allocations: 39.92 kB / 332.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01222, allocations: 3.938 kB / 332.1 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01224, allocations: 7.984 kB / 332.1 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.01224, allocations: 4 kB / 332.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.01224, allocations: 0 / 332.1 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.01259, allocations: 424.1 kB / 332.5 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.01262, allocations: 31.75 kB / 332.5 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.01265, allocations: 8 kB / 332.5 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.01273, allocations: 4 kB / 332.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.0128, allocations: 23.95 kB / 332.6 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.01283, allocations: 8.078 kB / 332.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.01295, allocations: 147.3 kB / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01295, allocations: 0 / 332.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.01319, allocations: 51.89 kB / 332.8 MB, free: 15.8 MB / 314.7 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.001531/0.01472, allocations: 0.668 MB / 333.4 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.01492, allocations: 109.1 kB / 333.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.01494, allocations: 4 kB / 333.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.015, allocations: 60.7 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.01533, allocations: 69.75 kB / 333.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.01599, allocations: 0.49 MB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.112e-05/0.01606, allocations: 96.3 kB / 334.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.01613, allocations: 33.92 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.01625, allocations: 95.34 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.01626, allocations: 4 kB / 334.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of Templates: time 0.006099/0.02235, allocations: 3.644 MB / 338 MB, free: 10.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.992043694946915]