Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.0009325/0.0009325, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.00165/0.00165, allocations: 168.7 kB / 24.91 MB, free: 9.145 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.9916/0.9916, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2625/0.2625, allocations: 34.26 MB / 296.1 MB, free: 0.7383 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 325.4 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.649e-05, allocations: 9.156 kB / 325.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003051/0.003077, allocations: 2.002 MB / 327.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.004439, allocations: 1.049 MB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004541, allocations: 4 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.004842, allocations: 39.64 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.005119, allocations: 103.4 kB / 328.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.005327, allocations: 99.58 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.005511, allocations: 148 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.005604, allocations: 26.45 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-05/0.005702, allocations: 75.69 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.005794, allocations: 39.89 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.005811, allocations: 8 kB / 329 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.512e-05/0.005897, allocations: 47.91 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.005944, allocations: 27.86 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.005987, allocations: 39.84 kB / 329.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.006181, allocations: 127.4 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562e-06/0.006183, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006183, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.006187, allocations: 0 / 329.2 MB, free: 3.734 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.0003856/0.006573, allocations: 383.1 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.006601, allocations: 12.03 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.006633, allocations: 12.92 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.006802, allocations: 162.3 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006817, allocations: 12.38 kB / 329.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.006837, allocations: 12.31 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.006981, allocations: 134.8 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.006989, allocations: 3.938 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.006997, allocations: 4 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.007001, allocations: 0 / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.007038, allocations: 26.75 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.00734, allocations: 374 kB / 330.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.007498, allocations: 113.2 kB / 330.4 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.007523, allocations: 16.84 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.007534, allocations: 0 / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.007639, allocations: 99.89 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00764, allocations: 3.938 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001293/0.007769, allocations: 69.67 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.007794, allocations: 51.41 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.007908, allocations: 189.5 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.007928, allocations: 37.69 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.007982, allocations: 111.9 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.007997, allocations: 19.86 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.008035, allocations: 33.69 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.008124, allocations: 330.7 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.008143, allocations: 10.83 kB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.008177, allocations: 44.27 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.008241, allocations: 73.84 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008243, allocations: 0 / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.107e-05/0.008334, allocations: 92.36 kB / 331.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.008346, allocations: 4 kB / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00835, allocations: 0 / 331.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.008362, allocations: 4 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.361e-05/0.008426, allocations: 27.92 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.008429, allocations: 0 / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.008463, allocations: 15.89 kB / 331.6 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008471, allocations: 8.125 kB / 331.6 MB, free: 1.055 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 7.576e-05/0.008546, allocations: 132.5 kB / 331.8 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.00856, allocations: 8 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.008697, allocations: 75.59 kB / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008699, allocations: 0 / 331.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.008703, allocations: 8 kB / 331.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008707, allocations: 0 / 331.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.008823, allocations: 101.8 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.008825, allocations: 3.938 kB / 331.9 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.175e-05/0.008887, allocations: 19.92 kB / 332 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008889, allocations: 4 kB / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.008898, allocations: 0 / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.008899, allocations: 3.938 kB / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.0089, allocations: 0 / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.009051, allocations: 123.3 kB / 332.1 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.009069, allocations: 19.78 kB / 332.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.009088, allocations: 8 kB / 332.1 MB, free: 0.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.325e-05/0.009122, allocations: 4 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.009149, allocations: 3.984 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.009162, allocations: 4 kB / 332.1 MB, free: 500 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.009218, allocations: 60.25 kB / 332.2 MB, free: 436 kB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009218, allocations: 0 / 332.2 MB, free: 436 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.009407, allocations: 24 kB / 332.2 MB, free: 412 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.001331/0.01074, allocations: 0.5022 MB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.01085, allocations: 48.72 kB / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.01085, allocations: 4 kB / 332.8 MB, free: 112 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.01089, allocations: 29.09 kB / 332.8 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.01106, allocations: 52.34 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01144, allocations: 258.2 kB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01148, allocations: 71.83 kB / 333.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.01153, allocations: 13.48 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.01162, allocations: 79.36 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01162, allocations: 4 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of Templates: time 0.004382/0.01601, allocations: 2.186 MB / 335.5 MB, free: 13.42 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.9413311760872602]