Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001001/0.001001, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001139/0.001139, allocations: 165 kB / 24.56 MB, free: 8 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.648 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.266/0.266, allocations: 32.8 MB / 294.3 MB, free: 1.219 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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.929e-05, allocations: 6.25 kB / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002362/0.002391, allocations: 1.762 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003592, allocations: 1.017 MB / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.003661, allocations: 0 / 378.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.003961, allocations: 51.69 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.004235, allocations: 99.55 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.0044, allocations: 79.59 kB / 379.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.004571, allocations: 111.6 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004672, allocations: 7.984 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.004759, allocations: 51.78 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.004843, allocations: 31.89 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.004863, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.004942, allocations: 43.92 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.004998, allocations: 27.92 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.005037, allocations: 23.86 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.005209, allocations: 103.7 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.005211, allocations: 0 / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005212, allocations: 0 / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.005217, allocations: 0 / 379.5 MB, free: 1.145 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.0004619/0.005679, allocations: 471.6 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.005715, allocations: 8.031 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.005756, allocations: 16.84 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.005921, allocations: 161.2 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.005938, allocations: 384 / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.00596, allocations: 4.375 kB / 380.2 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.00608, allocations: 62.94 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006091, allocations: 3.938 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.006099, allocations: 0 / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.006108, allocations: 4 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.37e-05/0.006141, allocations: 15.92 kB / 380.2 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.00644, allocations: 295.8 kB / 380.5 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.006549, allocations: 51.17 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.00658, allocations: 23.61 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.006594, allocations: 0 / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.554e-05/0.00669, allocations: 72.98 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.006691, allocations: 0 / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003573/0.007048, allocations: 161.3 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.007078, allocations: 55.41 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.007229, allocations: 263.1 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.007242, allocations: 25.7 kB / 381.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.007309, allocations: 158.9 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.007339, allocations: 27.78 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.007373, allocations: 27.36 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.007505, allocations: 0.5001 MB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.007529, allocations: 16 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.007562, allocations: 31.36 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.728e-05/0.007619, allocations: 59.61 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.00762, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.007728, allocations: 89.53 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.007738, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.007744, allocations: 8 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.007757, allocations: 0 / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.007823, allocations: 19.92 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.007827, allocations: 4.031 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/0.007857, allocations: 8 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.007864, allocations: 4 kB / 382.1 MB, free: 14.31 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.218e-05/0.007936, allocations: 163.9 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.007951, allocations: 15.91 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.008099, allocations: 111.2 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008102, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.008105, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.008109, allocations: 3.984 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.008408, allocations: 404.9 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.00841, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.00844, allocations: 11.94 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008442, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.00845, allocations: 7.984 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.008451, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008453, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.00859, allocations: 263.4 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.008602, allocations: 15.91 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.008617, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.008657, allocations: 4.031 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.008685, allocations: 11.98 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.008696, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.00878, allocations: 187.1 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00878, allocations: 0 / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.008942, allocations: 27.94 kB / 383.3 MB, free: 13.02 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.00088/0.009822, allocations: 430.7 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.009925, allocations: 55.61 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009927, allocations: 4.062 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.009965, allocations: 39.53 kB / 383.8 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.0002249/0.01019, allocations: 31.97 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.01051, allocations: 237.8 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.355e-05/0.01056, allocations: 75.27 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.01059, allocations: 16.95 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.01062, allocations: 16.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01062, allocations: 4.062 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003314/0.01393, allocations: 1.887 MB / 386.1 MB, free: 10.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.1870677690021694]