Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.0009398/0.0009398, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009952/0.0009952, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.9973/0.9973, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2387/0.2387, allocations: 32.81 MB / 294.6 MB, free: 1.156 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.81e-07/9.81e-07, allocations: 0 / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.142e-05, allocations: 5.406 kB / 376.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002347/0.002358, allocations: 1.758 MB / 378.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003708, allocations: 0.9975 MB / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.003776, allocations: 0 / 379.3 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.004105, allocations: 39.77 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.004369, allocations: 95.47 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.004542, allocations: 79.61 kB / 379.5 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.004688, allocations: 115.6 kB / 379.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.123e-05/0.004759, allocations: 4 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.004848, allocations: 59.81 kB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.004915, allocations: 23.92 kB / 379.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.00493, allocations: 8 kB / 379.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.005006, allocations: 47.86 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.005044, allocations: 19.91 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.005074, allocations: 15.94 kB / 379.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.005206, allocations: 107.6 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.005208, allocations: 0 / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.005208, allocations: 0 / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.005211, allocations: 0 / 379.9 MB, free: 0.8984 MB / 346.7 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.0003274/0.005538, allocations: 447.8 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.005568, allocations: 8.031 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.005597, allocations: 24.83 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.005714, allocations: 157 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.005725, allocations: 4.375 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.005738, allocations: 4.375 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.005815, allocations: 58.94 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005822, allocations: 3.938 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.005827, allocations: 0 / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.005831, allocations: 4 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.005852, allocations: 7.984 kB / 380.6 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.006057, allocations: 260.3 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.00613, allocations: 59.09 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.006149, allocations: 15.67 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.006162, allocations: 4 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.108e-05/0.006233, allocations: 68.98 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006234, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000259/0.006493, allocations: 133.8 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.006515, allocations: 55.34 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006617, allocations: 226.3 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006628, allocations: 29.7 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.006679, allocations: 154.8 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.006703, allocations: 27.78 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.006737, allocations: 31.36 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.006849, allocations: 0.4962 MB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.006862, allocations: 4.062 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.006888, allocations: 39.34 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.006929, allocations: 43.31 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00693, allocations: 7.984 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.037e-05/0.007011, allocations: 85.56 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.00702, allocations: 4 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.007023, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.007032, allocations: 4 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.007084, allocations: 19.94 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007088, allocations: 3.984 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.007113, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.007117, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 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 6.334e-05/0.00718, allocations: 164.6 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.007194, allocations: 19.84 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.007314, allocations: 107.2 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.007315, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007317, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.007319, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.007778, allocations: 361.6 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.007779, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.128e-05/0.0078, allocations: 8 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.007803, allocations: 4 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.007808, allocations: 4 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007809, allocations: 3.938 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.007811, allocations: 8.031 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.007927, allocations: 263.4 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.007936, allocations: 7.953 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007949, allocations: 3.984 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.973e-05/0.007989, allocations: 11.94 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.008011, allocations: 7.984 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.00802, allocations: 0 / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.008077, allocations: 164.1 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008077, allocations: 0 / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.008237, allocations: 27.92 kB / 383.5 MB, free: 13.01 MB / 362.7 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.0007734/0.00901, allocations: 437 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.77e-05/0.009088, allocations: 51.59 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009089, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.00912, allocations: 31.61 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.009325, allocations: 39.86 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.009587, allocations: 214 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.009623, allocations: 71.45 kB / 384.3 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.177e-05/0.009655, allocations: 17.28 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.009718, allocations: 90.19 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.009718, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of Templates: time 0.003142/0.01286, allocations: 2.045 MB / 386.5 MB, free: 10.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.9864677088335156]