Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001551/0.001551, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001152/0.001152, allocations: 167.9 kB / 24.82 MB, free: 9.312 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2441/0.2441, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 3.938 kB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.157e-05, allocations: 5.406 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00287/0.002902, allocations: 1.762 MB / 378.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004254, allocations: 0.9897 MB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.004351, allocations: 4 kB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.004685, allocations: 59.67 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.005032, allocations: 99.47 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.005304, allocations: 87.59 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.005496, allocations: 99.7 kB / 379.7 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.005591, allocations: 15.97 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.005701, allocations: 55.78 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/0.005782, allocations: 27.91 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.005798, allocations: 4 kB / 379.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.005899, allocations: 47.91 kB / 379.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.005956, allocations: 31.86 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.005999, allocations: 19.88 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.006188, allocations: 115.6 kB / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00619, allocations: 0 / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006191, allocations: 0 / 380 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.006196, allocations: 4 kB / 380 MB, free: 0.875 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.0004957/0.006691, allocations: 479.5 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.006732, allocations: 8.031 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.006775, allocations: 16.84 kB / 380.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.006954, allocations: 173.2 kB / 380.6 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.006971, allocations: 4.359 kB / 380.6 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.006987, allocations: 4.375 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.007107, allocations: 62.88 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.007118, allocations: 3.938 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.007127, allocations: 4 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.007132, allocations: 4 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.801e-05/0.00716, allocations: 7.984 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.007716, allocations: 264.4 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.007809, allocations: 51.09 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.007835, allocations: 19.67 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.00785, allocations: 4 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.16e-05/0.007941, allocations: 60.98 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.007943, allocations: 0 / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000327/0.00827, allocations: 141.8 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.008297, allocations: 51.41 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.008473, allocations: 274.6 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.008487, allocations: 25.7 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.008555, allocations: 166.8 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.008585, allocations: 31.77 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.008623, allocations: 27.38 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.008753, allocations: 0.504 MB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.008775, allocations: 12 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.00881, allocations: 39.34 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.008861, allocations: 43.36 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008863, allocations: 0 / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001185/0.008981, allocations: 101.4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.008997, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.009001, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.009013, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.00908, allocations: 19.92 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.009083, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.009118, allocations: 4 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.009124, allocations: 0 / 382.5 MB, free: 14.08 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 8.173e-05/0.009205, allocations: 168.5 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.009229, allocations: 23.84 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.00939, allocations: 107.2 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009392, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.009394, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.009397, allocations: 0 / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.009693, allocations: 369.6 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009695, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.009727, allocations: 11.98 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.00973, allocations: 8.031 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.009738, allocations: 4 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.00974, allocations: 0 / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009743, allocations: 4 kB / 383.2 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.009896, allocations: 255.3 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.009912, allocations: 15.89 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.009929, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.951e-05/0.009988, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.01001, allocations: 7.984 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.01003, allocations: 4 kB / 383.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.661e-05/0.01012, allocations: 184.5 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01012, allocations: 4 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01037, allocations: 27.94 kB / 383.7 MB, free: 12.83 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.001067/0.01143, allocations: 442.8 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01154, allocations: 51.58 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01155, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.01159, allocations: 35.61 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.01188, allocations: 34.81 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.01226, allocations: 270.4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.285e-05/0.01231, allocations: 71.33 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.01236, allocations: 21.27 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.01244, allocations: 90.19 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01244, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.004308/0.01675, allocations: 2.066 MB / 386.8 MB, free: 9.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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: 3.1036318787373602]