Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.0009899/0.0009899, 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.001122/0.001122, allocations: 168.7 kB / 24.91 MB, free: 9.191 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.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2583/0.2583, allocations: 34.27 MB / 296.1 MB, free: 0.7109 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.767e-05, allocations: 3.156 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002543/0.00257, allocations: 1.768 MB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004032, allocations: 1.01 MB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.004118, allocations: 0 / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.004409, allocations: 39.7 kB / 328.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.004734, allocations: 103.5 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.004956, allocations: 75.61 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.005119, allocations: 112.1 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.191e-05/0.005201, allocations: 7.938 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.556e-05/0.005297, allocations: 55.83 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.005379, allocations: 27.91 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.005395, allocations: 4 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.005484, allocations: 43.92 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.005531, allocations: 19.92 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.005575, allocations: 27.91 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.005749, allocations: 103.5 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.005753, allocations: 4 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005754, allocations: 0 / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005759, allocations: 0 / 328.7 MB, free: 4.188 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.0003883/0.006147, allocations: 321.5 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.006187, allocations: 8.031 kB / 329 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.006225, allocations: 8.938 kB / 329 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.006382, allocations: 147.4 kB / 329.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.006398, allocations: 4.375 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.006418, allocations: 4.375 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.006534, allocations: 69.7 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006545, allocations: 3.938 kB / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.006552, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006557, allocations: 0 / 329.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.006583, allocations: 15.97 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.006795, allocations: 158 kB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.707e-05/0.006892, allocations: 93.28 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.006914, allocations: 20.83 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.006926, allocations: 4 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.615e-05/0.007012, allocations: 70.09 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.007013, allocations: 0 / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002828/0.007296, allocations: 105.5 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.007327, allocations: 55.41 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.007433, allocations: 177.3 kB / 330 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.007449, allocations: 25.7 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.007481, allocations: 100.1 kB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.007507, allocations: 27.78 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.007535, allocations: 21.7 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.381e-05/0.007609, allocations: 330.8 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.007628, allocations: 10.83 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-05/0.007651, allocations: 26.02 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.007692, allocations: 44.52 kB / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007693, allocations: 0 / 330.5 MB, free: 2.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.91e-05/0.007772, allocations: 76.38 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.007784, allocations: 4 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.007789, allocations: 0 / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007801, allocations: 4 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.67e-05/0.007868, allocations: 20.02 kB / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.00787, allocations: 0 / 330.6 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.007897, allocations: 4 kB / 330.6 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.007903, allocations: 4 kB / 330.6 MB, free: 2.086 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.959e-05/0.007973, allocations: 124.6 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.007985, allocations: 7.938 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.008386, allocations: 75.12 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.008388, allocations: 0 / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.00839, allocations: 0 / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.008393, allocations: 0 / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.008602, allocations: 303.5 kB / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008603, allocations: 0 / 331.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.008628, allocations: 15.92 kB / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008631, allocations: 0 / 331.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.008636, allocations: 4 kB / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008638, allocations: 0 / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008639, allocations: 80 / 331.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.00875, allocations: 223 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.853e-05/0.008769, allocations: 11.89 kB / 331.4 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008786, allocations: 7.984 kB / 331.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.008825, allocations: 8.031 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.008849, allocations: 7.984 kB / 331.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.00886, allocations: 4 kB / 331.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.194e-05/0.008902, allocations: 47.64 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008902, allocations: 0 / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.009053, allocations: 27.94 kB / 331.5 MB, free: 1.164 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.001252/0.0103, allocations: 0.5734 MB / 332.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.01041, allocations: 44.78 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.01042, allocations: 0 / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.01045, allocations: 32.77 kB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.01064, allocations: 31.91 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.01097, allocations: 219.8 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.01101, allocations: 63.34 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.01105, allocations: 17.27 kB / 332.5 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.01112, allocations: 67.36 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01112, allocations: 0 / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of Templates: time 0.003764/0.01488, allocations: 2.017 MB / 334.5 MB, free: 14.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.907941821962595]