Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001175/0.001175, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.00106/0.00106, allocations: 163.2 kB / 24.91 MB, free: 8.77 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 1.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.41 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.3082/0.3082, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.644e-05, allocations: 6.109 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002303/0.00232, allocations: 1.887 MB / 327.9 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003732, allocations: 1.087 MB / 329 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.003817, allocations: 11.88 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.004244, allocations: 307.1 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.004618, allocations: 251 kB / 329.6 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.004831, allocations: 111.6 kB / 329.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.005083, allocations: 268 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.005138, allocations: 18.45 kB / 330 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.005299, allocations: 155.5 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.005479, allocations: 171.7 kB / 330.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.005502, allocations: 8 kB / 330.3 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.005595, allocations: 47.92 kB / 330.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.005709, allocations: 148.1 kB / 330.5 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.005778, allocations: 71.67 kB / 330.5 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006038, allocations: 278.9 kB / 330.8 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.006041, allocations: 4 kB / 330.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.006042, allocations: 3.938 kB / 330.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.006046, allocations: 4 kB / 330.8 MB, free: 2.234 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005972/0.006643, allocations: 0.6393 MB / 331.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.006675, allocations: 8.031 kB / 331.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.006725, allocations: 32.91 kB / 331.5 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.007006, allocations: 297.9 kB / 331.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.007026, allocations: 4.375 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.007038, allocations: 4.375 kB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.007177, allocations: 95.38 kB / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.007187, allocations: 192 / 331.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.007195, allocations: 4.375 kB / 331.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.007202, allocations: 3.938 kB / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.007236, allocations: 21.64 kB / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.007397, allocations: 126.2 kB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.007526, allocations: 78.8 kB / 332.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.007553, allocations: 21.72 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.007565, allocations: 4 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.007687, allocations: 99.83 kB / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.007688, allocations: 0 / 332.3 MB, free: 0.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002784/0.007966, allocations: 115.2 kB / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.008007, allocations: 81.11 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.008421, allocations: 0.6101 MB / 333.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.008434, allocations: 25.7 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.008492, allocations: 149.3 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.008528, allocations: 35.73 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.008562, allocations: 29.7 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.008668, allocations: 374.7 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.008693, allocations: 10.83 kB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.00873, allocations: 46.78 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.008802, allocations: 68.33 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008804, allocations: 0 / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001166/0.008921, allocations: 107.2 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.008937, allocations: 8 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.008942, allocations: 4.062 kB / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.008958, allocations: 0 / 333.9 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.009043, allocations: 23.98 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009048, allocations: 0 / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.009104, allocations: 15.92 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.009113, allocations: 4 kB / 333.9 MB, free: 14.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001023/0.009215, allocations: 122.1 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.009244, allocations: 27.97 kB / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.009406, allocations: 129.9 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.009408, allocations: 0 / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.00941, allocations: 4 kB / 334.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.009417, allocations: 7.922 kB / 334.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.009567, allocations: 169.6 kB / 334.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.009569, allocations: 0 / 334.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.009602, allocations: 8.25 kB / 334.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.009605, allocations: 0 / 334.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.00962, allocations: 15.98 kB / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.009622, allocations: 0 / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009624, allocations: 0 / 334.4 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.009748, allocations: 138.2 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.009799, allocations: 55.66 kB / 334.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.009827, allocations: 7.984 kB / 334.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.009865, allocations: 4 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.009897, allocations: 7.984 kB / 334.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.00991, allocations: 8 kB / 334.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.01013, allocations: 323.2 kB / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01013, allocations: 0 / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001576/0.01029, allocations: 47.94 kB / 335 MB, free: 13.77 MB / 314.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001047/0.01133, allocations: 0.4936 MB / 335.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01145, allocations: 60.72 kB / 335.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.01146, allocations: 4 kB / 335.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.928e-05/0.0115, allocations: 28.84 kB / 335.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01173, allocations: 69.06 kB / 335.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.01246, allocations: 0.6618 MB / 336.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.01254, allocations: 128.2 kB / 336.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.325e-05/0.01261, allocations: 47.39 kB / 336.5 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.01273, allocations: 95.34 kB / 336.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01273, allocations: 0 / 336.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of Templates: time 0.00657/0.0193, allocations: 4.316 MB / 340.9 MB, free: 8.125 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.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: 3.171315386891365]