Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001453/0.001453, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001036/0.001036, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.9712/0.9712, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2685/0.2685, allocations: 34.27 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 3.984 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.288e-05, allocations: 2.312 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002186/0.002209, allocations: 1.762 MB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003418, allocations: 1.013 MB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.003493, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.003768, allocations: 47.69 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.004016, allocations: 95.53 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.004158, allocations: 75.61 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004298, allocations: 107.6 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.265e-05/0.004371, allocations: 7.984 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.194e-05/0.004443, allocations: 59.77 kB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.004503, allocations: 23.92 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.004518, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.004591, allocations: 51.91 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.00464, allocations: 23.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.004679, allocations: 19.92 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.004849, allocations: 103.5 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00485, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004851, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004856, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.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.0003887/0.005244, allocations: 451.8 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.005277, allocations: 12.03 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.005313, allocations: 12.84 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.00547, allocations: 153.1 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005486, allocations: 4.375 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.005506, allocations: 384 / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.00562, allocations: 66.88 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.00563, allocations: 3.938 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.005639, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.005646, allocations: 3.984 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.116e-05/0.005677, allocations: 11.98 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.005943, allocations: 291.8 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.006027, allocations: 51.11 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.006054, allocations: 31.61 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.006064, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.125e-05/0.006145, allocations: 69.05 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.006146, allocations: 3.938 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003206/0.006467, allocations: 149.4 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.006493, allocations: 55.41 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.006622, allocations: 238.3 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.006635, allocations: 25.7 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.006694, allocations: 154.9 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.006718, allocations: 27.8 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.006749, allocations: 27.36 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.006869, allocations: 0.4962 MB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/0.006891, allocations: 11.94 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.006923, allocations: 35.36 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.006979, allocations: 55.36 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.006979, allocations: 4 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001032/0.007083, allocations: 97.52 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.007092, allocations: 4 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007096, allocations: 4.031 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.007109, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.007172, allocations: 19.98 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.007175, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.007201, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007207, allocations: 4 kB / 384 MB, free: 12.41 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.958e-05/0.007277, allocations: 172.1 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.007291, allocations: 11.95 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.007433, allocations: 103.1 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.007436, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.007438, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007441, allocations: 0 / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.007703, allocations: 396.9 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.007706, allocations: 3.984 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.007731, allocations: 8 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.007734, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.007739, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007741, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007742, allocations: 0 / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.007871, allocations: 263.5 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.007882, allocations: 7.906 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.007899, allocations: 16.3 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.007937, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.007959, allocations: 7.984 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.00797, allocations: 8 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.01e-05/0.00805, allocations: 176.1 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.00805, allocations: 0 / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.008207, allocations: 27.92 kB / 385.2 MB, free: 11.14 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.0008294/0.009036, allocations: 442.6 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.009135, allocations: 55.61 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009136, allocations: 0 / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.553e-05/0.009172, allocations: 27.67 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.009378, allocations: 27.97 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.009659, allocations: 221.9 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.917e-05/0.009698, allocations: 71.33 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.00973, allocations: 17.09 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.009758, allocations: 20.48 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.009759, allocations: 0 / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of Templates: time 0.003343/0.0131, allocations: 1.867 MB / 388 MB, free: 8.531 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.307233395986259]