Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009915/0.0009915, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.993/0.993, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3146/0.3146, allocations: 34.85 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.681e-05, allocations: 4.984 kB / 326 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003653/0.003679, allocations: 1.812 MB / 327.9 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.005306, allocations: 1.01 MB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.625e-05/0.005383, allocations: 3.938 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.005647, allocations: 31.78 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.005911, allocations: 103.4 kB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.00611, allocations: 83.66 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.006262, allocations: 100.4 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.006339, allocations: 19.95 kB / 329.2 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.006425, allocations: 47.84 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.006494, allocations: 31.89 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.006508, allocations: 4 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.006591, allocations: 47.86 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.006637, allocations: 27.86 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.006667, allocations: 19.92 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.006828, allocations: 103.7 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.006832, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006833, allocations: 0 / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.006837, allocations: 0 / 329.5 MB, free: 3.578 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.0003553/0.007193, allocations: 325.5 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.007224, allocations: 8.031 kB / 329.8 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.007255, allocations: 8.922 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.007409, allocations: 154 kB / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.007423, allocations: 384 / 330 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.007439, allocations: 8.375 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.007548, allocations: 61.77 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.007557, allocations: 4.172 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.007564, allocations: 4.375 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.00757, allocations: 3.938 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.007592, allocations: 8 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.007912, allocations: 165.9 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.008045, allocations: 89.22 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.008075, allocations: 12.92 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.00809, allocations: 4 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.008219, allocations: 66.2 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.00822, allocations: 0 / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004137/0.008634, allocations: 117.4 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.00867, allocations: 55.41 kB / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.008827, allocations: 176.3 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.008848, allocations: 29.7 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.008899, allocations: 104 kB / 330.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.008935, allocations: 19.8 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.00898, allocations: 25.69 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.009081, allocations: 322.8 kB / 331.2 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.009111, allocations: 18.77 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.504e-05/0.009146, allocations: 29.69 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/0.009206, allocations: 40.47 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.009207, allocations: 0 / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000123/0.00933, allocations: 72.42 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.009348, allocations: 9.188 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009355, allocations: 4.375 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.009368, allocations: 0 / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.009457, allocations: 15.98 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.009463, allocations: 11.97 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.009521, allocations: 12 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.009529, allocations: 0 / 331.4 MB, free: 1.453 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 8.399e-05/0.009613, allocations: 116.7 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.00964, allocations: 15.94 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.009793, allocations: 75.06 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009796, allocations: 0 / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.009797, allocations: 0 / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.009803, allocations: 4 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.01014, allocations: 295.6 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.01014, allocations: 3.938 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.01019, allocations: 15.98 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.0102, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.0102, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.01021, allocations: 4 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01021, allocations: 0 / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.01038, allocations: 211.1 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.01041, allocations: 19.83 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.01043, allocations: 4 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.01051, allocations: 8.031 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.01055, allocations: 7.984 kB / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01056, allocations: 0 / 332.2 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.01064, allocations: 60.69 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01064, allocations: 0 / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.01091, allocations: 23.94 kB / 332.3 MB, free: 0.5312 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.001918/0.01283, allocations: 0.577 MB / 332.9 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01296, allocations: 36.84 kB / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01296, allocations: 0 / 332.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.01301, allocations: 24.8 kB / 332.9 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.01331, allocations: 42.48 kB / 333 MB, free: 136 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.0138, allocations: 232 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.504e-05/0.01386, allocations: 67.33 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.01392, allocations: 17.28 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.01401, allocations: 67.36 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01401, allocations: 3.938 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Templates: time 0.005539/0.01955, allocations: 2.012 MB / 335.3 MB, free: 13.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.946781375911087]