Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.0009605/0.0009605, allocations: 79.75 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.0009452/0.0009452, allocations: 161 kB / 24.56 MB, free: 12 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.032/1.032, allocations: 177.2 MB / 205 MB, free: 5.602 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.2689/0.2689, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 376.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.791e-05, allocations: 8.922 kB / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003821/0.003858, allocations: 1.781 MB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.005799, allocations: 0.9975 MB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.005906, allocations: 8 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.006307, allocations: 43.69 kB / 378.9 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.006753, allocations: 103.5 kB / 379 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.007018, allocations: 83.59 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.007242, allocations: 103.7 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.007355, allocations: 15.97 kB / 379.2 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.007502, allocations: 55.78 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.652e-05/0.007599, allocations: 23.91 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.007619, allocations: 8 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.007732, allocations: 47.91 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.007797, allocations: 23.86 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.007848, allocations: 15.94 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.008092, allocations: 107.6 kB / 379.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.008096, allocations: 3.938 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008097, allocations: 0 / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.008102, allocations: 0 / 379.5 MB, free: 1.129 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.0005958/0.008698, allocations: 471.7 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.008742, allocations: 12.03 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.008806, allocations: 12.84 kB / 380 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.009035, allocations: 157.2 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.009058, allocations: 4.375 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.009081, allocations: 4.375 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.009255, allocations: 58.94 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.00927, allocations: 7.938 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.009282, allocations: 0 / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.009293, allocations: 0 / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.009384, allocations: 19.92 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.009707, allocations: 291.8 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.009824, allocations: 51.17 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.009856, allocations: 23.61 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.009868, allocations: 7.938 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.009978, allocations: 65.05 kB / 380.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.00998, allocations: 3.984 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004011/0.01038, allocations: 157.3 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.01041, allocations: 55.41 kB / 380.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.01056, allocations: 263.1 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.01057, allocations: 29.7 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.01063, allocations: 158.9 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.01066, allocations: 27.73 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.0107, allocations: 31.36 kB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01081, allocations: 0.4962 MB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.01083, allocations: 8 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.01087, allocations: 35.73 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.01093, allocations: 63.22 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01093, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001139/0.01105, allocations: 97.53 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01106, allocations: 8 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01106, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01108, allocations: 0 / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.01115, allocations: 15.98 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.01116, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.0112, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.01121, allocations: 4 kB / 382.1 MB, free: 14.3 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 9.364e-05/0.01131, allocations: 168.5 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.01133, allocations: 19.84 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.01149, allocations: 107.3 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.0115, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.0115, allocations: 0 / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.01151, allocations: 3.984 kB / 382.4 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.01185, allocations: 404.9 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01185, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.01189, allocations: 11.94 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.01189, allocations: 4 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.0119, allocations: 8.016 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.0119, allocations: 0 / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01191, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.01207, allocations: 259.4 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.01208, allocations: 11.91 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.0121, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.01214, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.01218, allocations: 7.984 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.01219, allocations: 0 / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.01228, allocations: 187.1 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01228, allocations: 4 kB / 383.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001815/0.01246, allocations: 31.88 kB / 383.3 MB, free: 13 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.0009519/0.01341, allocations: 440.5 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01354, allocations: 47.61 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01354, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.01358, allocations: 35.61 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01382, allocations: 31.97 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.01423, allocations: 238 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.01427, allocations: 75.27 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.01431, allocations: 16.95 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.01434, allocations: 16.5 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01434, allocations: 0 / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003989/0.01833, allocations: 2.023 MB / 386.2 MB, free: 10.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.057586264796555]