Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009695/0.0009695, 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.001151/0.001151, allocations: 174.4 kB / 24.92 MB, free: 8.723 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.9798/0.9798, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.2774/0.2774, allocations: 34.26 MB / 296.1 MB, free: 0.6016 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.4 MB, free: 7.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.59e-05, allocations: 2.969 kB / 325.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002352/0.002368, allocations: 1.804 MB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003576, allocations: 1.002 MB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.003641, allocations: 4 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.003859, allocations: 47.7 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.00409, allocations: 91.48 kB / 328.3 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.004248, allocations: 83.59 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.004382, allocations: 107.7 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/0.004458, allocations: 8.5 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.004542, allocations: 55.77 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.004607, allocations: 23.91 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.004621, allocations: 8 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.299e-05/0.004694, allocations: 43.92 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.004732, allocations: 27.86 kB / 328.7 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.004764, allocations: 19.92 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.004906, allocations: 103.6 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004908, allocations: 0 / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004909, allocations: 4 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004912, allocations: 3.938 kB / 328.8 MB, free: 4.109 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.0003246/0.005236, allocations: 321.5 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.717e-05/0.005264, allocations: 12.03 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.005292, allocations: 4.938 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005438, allocations: 158.5 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.005451, allocations: 384 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.005465, allocations: 4.375 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.948e-05/0.005554, allocations: 61.77 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005564, allocations: 3.938 kB / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.005569, allocations: 0 / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.005575, allocations: 0 / 329.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.005596, allocations: 15.92 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.005776, allocations: 165.9 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.005859, allocations: 89.28 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.005878, allocations: 16.91 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.005886, allocations: 0 / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.762e-05/0.005964, allocations: 66.09 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.21e-07/0.005965, allocations: 0 / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000255/0.00622, allocations: 117.8 kB / 329.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.006246, allocations: 51.41 kB / 329.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.006342, allocations: 180.3 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.006361, allocations: 29.7 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.006392, allocations: 104 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.006416, allocations: 23.78 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.006445, allocations: 25.7 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.006515, allocations: 322.8 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.006532, allocations: 14.88 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.006554, allocations: 29.7 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.006596, allocations: 48.44 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.006597, allocations: 0 / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.965e-05/0.006666, allocations: 72.38 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006677, allocations: 8.031 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006681, allocations: 3.938 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.006694, allocations: 0 / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.006747, allocations: 16 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.00675, allocations: 0 / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.006776, allocations: 11.98 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.006782, allocations: 4 kB / 330.8 MB, free: 1.988 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.331e-05/0.006845, allocations: 114.9 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.006859, allocations: 15.92 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.006958, allocations: 75.08 kB / 331 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00696, allocations: 4 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.006962, allocations: 0 / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006966, allocations: 0 / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.007177, allocations: 303.5 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007177, allocations: 0 / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.0072, allocations: 8 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.007203, allocations: 4 kB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.007209, allocations: 0 / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00721, allocations: 0 / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.007212, allocations: 7.922 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.007322, allocations: 223.1 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.007334, allocations: 11.91 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.007349, allocations: 0 / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.869e-05/0.007387, allocations: 4 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.007413, allocations: 11.92 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.007424, allocations: 4 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.007467, allocations: 56.69 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007467, allocations: 0 / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.007611, allocations: 31.92 kB / 331.6 MB, free: 1.062 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.001162/0.008773, allocations: 0.5683 MB / 332.2 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.008855, allocations: 48.72 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.008858, allocations: 0 / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.008889, allocations: 32.84 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.009056, allocations: 29.05 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.009333, allocations: 235.6 kB / 332.5 MB, free: 432 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.009373, allocations: 63.34 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.526e-05/0.009408, allocations: 17.27 kB / 332.6 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.009468, allocations: 67.36 kB / 332.7 MB, free: 260 kB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009468, allocations: 0 / 332.7 MB, free: 260 kB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.01282, allocations: 2.02 MB / 334.7 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.917858076747507]