Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.001079/0.001079, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.002594, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001043/0.001043, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002326, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1068/1.144, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2707/0.2707, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02945/0.3001, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.314e-05, allocations: 7.078 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002538/0.002561, allocations: 1.801 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.003946, allocations: 1.021 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.004021, allocations: 4 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.004211, allocations: 39.7 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.004456, allocations: 87.48 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.004647, allocations: 87.59 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.004809, allocations: 107.7 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.004885, allocations: 11.94 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.005013, allocations: 75.81 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.00509, allocations: 31.84 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.005106, allocations: 4 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.005196, allocations: 43.92 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.005237, allocations: 15.92 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.005274, allocations: 15.94 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.005445, allocations: 99.66 kB / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.005459, allocations: 0 / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005459, allocations: 0 / 297.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.005474, allocations: 4 kB / 297.4 MB, free: 1.629 MB / 282.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.000459/0.005933, allocations: 348.9 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.005965, allocations: 12.92 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.005998, allocations: 4.938 kB / 297.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.006155, allocations: 142.3 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.006171, allocations: 8.359 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.006186, allocations: 384 / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.006289, allocations: 65.77 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.006297, allocations: 192 / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.006303, allocations: 384 / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.006309, allocations: 7.938 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.006339, allocations: 15.94 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.006581, allocations: 161.9 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/0.006674, allocations: 89.34 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.006697, allocations: 16.84 kB / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.006707, allocations: 0 / 298.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.954e-05/0.006807, allocations: 66.16 kB / 298.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.006808, allocations: 0 / 298.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003081/0.007116, allocations: 121.4 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.007146, allocations: 51.41 kB / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.00727, allocations: 177.3 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.007287, allocations: 29.7 kB / 298.7 MB, free: 204 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.007324, allocations: 96.11 kB / 298.8 MB, free: 104 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.007352, allocations: 23.84 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.007393, allocations: 21.7 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.007545, allocations: 326.8 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.007566, allocations: 10.83 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.007591, allocations: 22.64 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.261e-05/0.007644, allocations: 48.53 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.007645, allocations: 0 / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.018e-05/0.007736, allocations: 72.42 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.007749, allocations: 7.938 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.007754, allocations: 7.938 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.007763, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.007841, allocations: 23.98 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.007844, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.007875, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007882, allocations: 4 kB / 299.3 MB, free: 15.51 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.785e-05/0.007949, allocations: 128.6 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.007964, allocations: 7.938 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.008076, allocations: 79.62 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.008079, allocations: 4 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.00808, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008084, allocations: 0 / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.00835, allocations: 291.4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.008354, allocations: 4.312 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.008388, allocations: 11.98 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.008403, allocations: 15.97 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008405, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.008413, allocations: 12 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.008415, allocations: 0 / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.008417, allocations: 3.938 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.008536, allocations: 220.8 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.008553, allocations: 0 / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.008609, allocations: 4 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.008634, allocations: 11.92 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.008647, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.008698, allocations: 55.64 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008699, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002/0.008899, allocations: 20 kB / 300.2 MB, free: 14.59 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.001694/0.01059, allocations: 0.609 MB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.0107, allocations: 44.77 kB / 300.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.01071, allocations: 3.984 kB / 300.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.01075, allocations: 28.78 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01096, allocations: 43.84 kB / 300.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.01155, allocations: 224 kB / 301.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.0116, allocations: 75.31 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01164, allocations: 17.09 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.01171, allocations: 67.38 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01171, allocations: 0 / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of Templates: time 0.003917/0.01563, allocations: 2.048 MB / 303.3 MB, free: 11.73 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.906910548917949]