Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001343/0.001343, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001249/0.001249, 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.075/1.075, allocations: 177.1 MB / 205 MB, free: 5.582 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.2483/0.2483, allocations: 32.8 MB / 294.3 MB, free: 1.281 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.608e-05, allocations: 2.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00221/0.002226, allocations: 1.777 MB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003468, allocations: 1.001 MB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.003547, allocations: 7.938 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.003851, allocations: 47.75 kB / 378.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.004122, allocations: 107.4 kB / 379 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.004268, allocations: 79.66 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004423, allocations: 107.6 kB / 379.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.004512, allocations: 12 kB / 379.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.004594, allocations: 59.81 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.004663, allocations: 19.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004678, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.788e-05/0.004756, allocations: 47.91 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.00481, allocations: 31.8 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.004856, allocations: 15.94 kB / 379.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.005032, allocations: 107.6 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005034, allocations: 0 / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005035, allocations: 0 / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005039, allocations: 3.938 kB / 379.5 MB, free: 1.148 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.0004916/0.005531, allocations: 467.8 kB / 380 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.005574, allocations: 8.031 kB / 380 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.005628, allocations: 16.84 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.005832, allocations: 157.2 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.005854, allocations: 384 / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.005887, allocations: 8.375 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.006024, allocations: 58.94 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.006037, allocations: 3.938 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006048, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.006061, allocations: 7.984 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.006097, allocations: 8 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.006456, allocations: 299.8 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.006594, allocations: 59.14 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.006628, allocations: 23.62 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.006645, allocations: 0 / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.006752, allocations: 65.05 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.006753, allocations: 0 / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004088/0.007162, allocations: 165.3 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.007196, allocations: 55.41 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.007359, allocations: 259.1 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.007372, allocations: 29.64 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.007439, allocations: 158.9 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.007469, allocations: 27.78 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.007504, allocations: 27.38 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.007639, allocations: 0.504 MB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.007669, allocations: 15.98 kB / 381.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.818e-05/0.007707, allocations: 35.36 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.456e-05/0.007771, allocations: 51.3 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007773, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001089/0.007882, allocations: 93.53 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.007893, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007898, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.007916, allocations: 3.984 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.007991, allocations: 15.94 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007997, allocations: 0 / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.008024, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.008031, allocations: 4 kB / 382.1 MB, free: 14.32 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.431e-05/0.008116, allocations: 168.5 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.008132, allocations: 15.91 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.008286, allocations: 111.2 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.008289, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.008292, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.008296, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.008596, allocations: 400.9 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008597, allocations: 0 / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.99e-05/0.008627, allocations: 15.98 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.00863, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.008639, allocations: 8.031 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.00864, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008641, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.008804, allocations: 259.4 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.008819, allocations: 15.91 kB / 383.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.008836, allocations: 4 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.008879, allocations: 3.984 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.008914, allocations: 11.92 kB / 383.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.008928, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.187e-05/0.00902, allocations: 183.1 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00902, allocations: 4 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.009193, allocations: 31.92 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.0009898/0.01018, allocations: 435.1 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01031, allocations: 55.59 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01031, allocations: 0 / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.01035, allocations: 31.67 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.0106, allocations: 27.92 kB / 383.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.01099, allocations: 241.7 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.969e-05/0.01104, allocations: 75.28 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.01108, allocations: 17.27 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.01111, allocations: 20.48 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01111, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.003705/0.01482, allocations: 1.891 MB / 386.1 MB, free: 10.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.2992818830534816]