Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008415/0.0008415, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009044/0.0009044, allocations: 170.9 kB / 24.91 MB, free: 9.152 MB / 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.9607/0.9607, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2769/0.2769, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.48e-05, allocations: 4.031 kB / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002601/0.002626, allocations: 2.005 MB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.00404, allocations: 1.049 MB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.004142, allocations: 4 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.004437, allocations: 47.58 kB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.004657, allocations: 95.42 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.004804, allocations: 95.62 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.004981, allocations: 156 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.00507, allocations: 26.44 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.005166, allocations: 79.75 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.005251, allocations: 31.84 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.005268, allocations: 8 kB / 328.9 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.391e-05/0.005342, allocations: 51.91 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.005391, allocations: 31.84 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.005429, allocations: 23.92 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.005608, allocations: 127.5 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.00561, allocations: 7.938 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00561, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.005614, allocations: 4 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004084/0.006022, allocations: 383 kB / 329.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.006052, allocations: 8.031 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.529e-05/0.006087, allocations: 16.92 kB / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.006256, allocations: 166.3 kB / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.006272, allocations: 384 / 329.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.006294, allocations: 20.27 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.00645, allocations: 130 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.006463, allocations: 7.938 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.006471, allocations: 4 kB / 329.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006478, allocations: 0 / 329.9 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.006521, allocations: 26.75 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.006871, allocations: 366.1 kB / 330.3 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.007041, allocations: 113.2 kB / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.007067, allocations: 16.84 kB / 330.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.007081, allocations: 8 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.007189, allocations: 95.89 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.007191, allocations: 0 / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001278/0.007319, allocations: 77.59 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.007341, allocations: 55.41 kB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.007445, allocations: 185.6 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.00747, allocations: 29.7 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.007518, allocations: 115.9 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.007534, allocations: 23.84 kB / 331 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.007568, allocations: 25.7 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.007661, allocations: 342.7 kB / 331.4 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.007678, allocations: 10.83 kB / 331.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.007715, allocations: 44.27 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.227e-05/0.007788, allocations: 73.84 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.007791, allocations: 4 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001424/0.007933, allocations: 92.39 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.007943, allocations: 4 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.007948, allocations: 4 kB / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.007959, allocations: 0 / 331.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.00802, allocations: 23.94 kB / 331.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.008025, allocations: 3.984 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.008055, allocations: 11.89 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.008061, allocations: 4 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.156e-05/0.008123, allocations: 122.8 kB / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.008137, allocations: 20.02 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.63e-05/0.008233, allocations: 79.59 kB / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008237, allocations: 4 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.008239, allocations: 0 / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.008244, allocations: 4 kB / 331.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.978e-05/0.008323, allocations: 97.8 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.008325, allocations: 3.938 kB / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.008368, allocations: 15.94 kB / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.00837, allocations: 0 / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.008381, allocations: 7.984 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.008383, allocations: 4 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008384, allocations: 4 kB / 332 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.008497, allocations: 110.7 kB / 332.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.008514, allocations: 27.77 kB / 332.1 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.008529, allocations: 3.984 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.39e-05/0.008553, allocations: 4 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.008581, allocations: 11.98 kB / 332.1 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.008591, allocations: 0 / 332.1 MB, free: 492 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.396e-05/0.008634, allocations: 48.23 kB / 332.2 MB, free: 440 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008635, allocations: 0 / 332.2 MB, free: 440 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.008762, allocations: 35.92 kB / 332.2 MB, free: 404 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001122/0.009884, allocations: 0.5058 MB / 332.7 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.498e-05/0.009969, allocations: 52.72 kB / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.009972, allocations: 0 / 332.8 MB, free: 104 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.01, allocations: 24.84 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.01014, allocations: 46.95 kB / 332.8 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.01046, allocations: 262.2 kB / 333.1 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.01049, allocations: 71.84 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.601e-05/0.01053, allocations: 13.48 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.054e-05/0.0106, allocations: 75.36 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.62e-07/0.0106, allocations: 0 / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of Templates: time 0.003644/0.01424, allocations: 2.198 MB / 335.5 MB, free: 13.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 2.9399916818365455]