Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001061/0.001061, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001314/0.001314, allocations: 161 kB / 24.56 MB, free: 16 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 1.014/1.014, 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.2498/0.2498, allocations: 34.25 MB / 295.7 MB, free: 0.7539 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.083e-05, allocations: 2.312 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.0022/0.002221, allocations: 1.766 MB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003409, allocations: 1.008 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.859e-05/0.003498, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.003808, allocations: 43.66 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.004124, allocations: 95.53 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.00434, allocations: 79.59 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.004539, allocations: 111.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.004646, allocations: 7.984 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.004743, allocations: 55.78 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.004832, allocations: 31.89 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.004852, allocations: 4 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.004947, allocations: 43.92 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.596e-05/0.005013, allocations: 15.94 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.00506, allocations: 19.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002177/0.005277, allocations: 95.66 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00528, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005281, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.005286, allocations: 0 / 381.5 MB, free: 15.16 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.0004981/0.005784, allocations: 451.8 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.005819, allocations: 12.03 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.005867, allocations: 8.891 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.006038, allocations: 151.3 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.00606, allocations: 8.375 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.006089, allocations: 8.359 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.006226, allocations: 62.94 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.006241, allocations: 3.938 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.006251, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.00626, allocations: 0 / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.23e-05/0.006302, allocations: 15.92 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.006655, allocations: 279.8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.006772, allocations: 47.17 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.006807, allocations: 23.62 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.006821, allocations: 0 / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.006945, allocations: 76.94 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.006946, allocations: 0 / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004697/0.007416, allocations: 161.4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.007453, allocations: 51.41 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.00758, allocations: 214.5 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.007594, allocations: 29.7 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.007653, allocations: 146.9 kB / 383.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.007679, allocations: 23.8 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.007715, allocations: 39.36 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.007835, allocations: 0.4884 MB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.007857, allocations: 12 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.007893, allocations: 31.36 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.00795, allocations: 59.23 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007951, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001047/0.008056, allocations: 101.6 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008069, allocations: 4 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.008074, allocations: 0 / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.008086, allocations: 4.031 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.008158, allocations: 23.92 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008163, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.008189, allocations: 0 / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.008196, allocations: 4 kB / 384 MB, free: 12.43 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 7.127e-05/0.008267, allocations: 164.5 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.00829, allocations: 15.95 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.008433, allocations: 98.38 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.008436, allocations: 4 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.00844, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.008443, allocations: 4 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.008971, allocations: 385 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008972, allocations: 0 / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.009, allocations: 19.92 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009003, allocations: 0 / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.00901, allocations: 4 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009013, allocations: 4 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009014, allocations: 0 / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.009145, allocations: 259.4 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.009154, allocations: 7.953 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.009171, allocations: 8.016 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.009211, allocations: 8 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.009244, allocations: 4.359 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.009257, allocations: 4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.544e-05/0.009322, allocations: 167.9 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009322, allocations: 0 / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.009497, allocations: 27.94 kB / 385.2 MB, free: 11.18 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.0009307/0.01043, allocations: 438.3 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01056, allocations: 59.58 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01056, allocations: 0 / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.0106, allocations: 39.55 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01083, allocations: 31.12 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.01114, allocations: 206.4 kB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.01118, allocations: 71.33 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.01122, allocations: 13.11 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.01125, allocations: 20.48 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01125, allocations: 0 / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Templates: time 0.003818/0.01507, allocations: 1.988 MB / 388 MB, free: 8.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.1459665237925947]