Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001082/0.001082, allocations: 80.8 kB / 21.49 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.001116/0.001116, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2515/0.2515, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 323.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.94e-05, allocations: 5.578 kB / 323.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00239/0.00241, allocations: 1.795 MB / 325.2 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003642, allocations: 1.009 MB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.003715, allocations: 3.938 kB / 326.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.00398, allocations: 31.77 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002465/0.004226, allocations: 99.47 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.004383, allocations: 83.59 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.004529, allocations: 103.6 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.004617, allocations: 16.72 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.004703, allocations: 43.91 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.004773, allocations: 23.92 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.004787, allocations: 11.94 kB / 326.6 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.004864, allocations: 47.91 kB / 326.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.004906, allocations: 23.92 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.004936, allocations: 19.92 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.005083, allocations: 99.59 kB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.005085, allocations: 0 / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005086, allocations: 0 / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.00509, allocations: 0 / 326.8 MB, free: 6.156 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003222/0.005412, allocations: 317.4 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.005442, allocations: 12.03 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.005467, allocations: 4.938 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.005614, allocations: 154.2 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005628, allocations: 4.375 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.005642, allocations: 4.312 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.005736, allocations: 65.77 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005745, allocations: 3.938 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.005751, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.005755, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.005778, allocations: 11.98 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.005959, allocations: 170 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.103e-05/0.00604, allocations: 89.23 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.006059, allocations: 16.84 kB / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.00607, allocations: 0 / 327.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.136e-05/0.006151, allocations: 70.14 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.006152, allocations: 0 / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002553/0.006407, allocations: 113.5 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.006433, allocations: 51.41 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.006531, allocations: 170.1 kB / 328 MB, free: 4.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.006544, allocations: 25.7 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.006577, allocations: 100.1 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.006605, allocations: 31.73 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.006636, allocations: 25.69 kB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.006715, allocations: 322.8 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.006731, allocations: 10.83 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.006755, allocations: 29.62 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.006795, allocations: 36.53 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.006796, allocations: 384 / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.058e-05/0.006867, allocations: 72.38 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.006876, allocations: 8.031 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006881, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.006895, allocations: 0 / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.006968, allocations: 31.92 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.006971, allocations: 0 / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.006998, allocations: 8 kB / 328.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.007002, allocations: 0 / 328.7 MB, free: 4.059 MB / 298.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 6.178e-05/0.007064, allocations: 127.3 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.007075, allocations: 11.92 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.00717, allocations: 71.14 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.007172, allocations: 8 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007173, allocations: 3.938 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.007182, allocations: 3.984 kB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.007393, allocations: 283.5 kB / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007394, allocations: 3.938 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.007419, allocations: 8 kB / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.007423, allocations: 0 / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.007432, allocations: 8 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007435, allocations: 3.984 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007436, allocations: 0 / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.624e-05/0.007532, allocations: 219 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.007546, allocations: 11.91 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.00756, allocations: 4 kB / 329.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.007598, allocations: 4 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.007621, allocations: 7.984 kB / 329.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.007634, allocations: 7.984 kB / 329.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.00767, allocations: 48.34 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00767, allocations: 0 / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.007807, allocations: 27.92 kB / 329.5 MB, free: 3.145 MB / 298.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.001164/0.008971, allocations: 0.5737 MB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.009053, allocations: 40.78 kB / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.009056, allocations: 0 / 330.1 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.009088, allocations: 40.77 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.009259, allocations: 31.67 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.009545, allocations: 220 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.009583, allocations: 67.34 kB / 330.5 MB, free: 2.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.312e-05/0.009616, allocations: 17.27 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.009681, allocations: 71.34 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of SimCode: time 8.01e-07/0.009682, allocations: 0 / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of Templates: time 0.003431/0.01311, allocations: 2.012 MB / 332.6 MB, free: 368 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.9788868678733706]