Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.0007586/0.0007586, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001066/0.001825, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006912/0.0006912, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009604/0.001652, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9905/0.9905, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09642/1.087, allocations: 53.86 MB / 243.9 MB, free: 14.88 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.2674/0.2674, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03384/0.3013, allocations: 13.24 MB / 292.8 MB, free: 6.406 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 294.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.058e-05, allocations: 8.984 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003366/0.003396, allocations: 1.812 MB / 296 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004811, allocations: 1.017 MB / 297 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004918, allocations: 3.938 kB / 297 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.005212, allocations: 47.7 kB / 297.1 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.005534, allocations: 95.42 kB / 297.2 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.005787, allocations: 87.53 kB / 297.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005979, allocations: 107.6 kB / 297.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.006076, allocations: 4 kB / 297.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.006228, allocations: 79.8 kB / 297.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.006328, allocations: 23.92 kB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.006346, allocations: 4 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.006466, allocations: 51.86 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.006527, allocations: 23.86 kB / 297.5 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.006565, allocations: 15.94 kB / 297.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.006767, allocations: 99.66 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.006783, allocations: 0 / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.006785, allocations: 0 / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.006796, allocations: 0 / 297.6 MB, free: 1.531 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.0005439/0.00734, allocations: 340.9 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.007386, allocations: 12.92 kB / 298 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.00743, allocations: 4.938 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.007635, allocations: 150.3 kB / 298.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.007657, allocations: 12.36 kB / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.007681, allocations: 384 / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.007827, allocations: 65.77 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.007838, allocations: 192 / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.007846, allocations: 384 / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.007853, allocations: 3.938 kB / 298.2 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.984e-05/0.007883, allocations: 11.94 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.008177, allocations: 162 kB / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.008302, allocations: 85.28 kB / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.008334, allocations: 20.84 kB / 298.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008351, allocations: 0 / 298.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.008485, allocations: 66.16 kB / 298.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.008486, allocations: 0 / 298.6 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004124/0.008899, allocations: 125.4 kB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.008943, allocations: 51.41 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.009105, allocations: 177.3 kB / 298.9 MB, free: 140 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.009127, allocations: 25.7 kB / 298.9 MB, free: 108 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.009174, allocations: 96.11 kB / 299 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.009228, allocations: 31.92 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.009278, allocations: 21.72 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.009378, allocations: 326.8 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.0094, allocations: 6.828 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.00943, allocations: 29.69 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.845e-05/0.009478, allocations: 36.38 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.009479, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.009582, allocations: 72.56 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.009601, allocations: 11.94 kB / 299.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.009608, allocations: 4.031 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.009624, allocations: 3.938 kB / 299.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.009721, allocations: 19.98 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.009725, allocations: 3.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.009764, allocations: 4.375 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.00977, allocations: 0 / 299.6 MB, free: 15.41 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 9.283e-05/0.009863, allocations: 128.6 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.009881, allocations: 7.938 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.01004, allocations: 88.28 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.01005, allocations: 3.984 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01005, allocations: 4 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.01006, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.01038, allocations: 291.5 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01038, allocations: 3.938 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.01043, allocations: 15.98 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.01045, allocations: 3.953 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.01045, allocations: 4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.01046, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.01047, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.01047, allocations: 7.938 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.01064, allocations: 223.1 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.01066, allocations: 0 / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.01071, allocations: 4 kB / 300.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.01076, allocations: 7.984 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.01078, allocations: 7.938 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.01084, allocations: 47.64 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 0 / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.01105, allocations: 20 kB / 300.4 MB, free: 14.49 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.002041/0.01309, allocations: 0.6189 MB / 301.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.01331, allocations: 44.77 kB / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/0.01332, allocations: 0 / 301.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.01339, allocations: 41.19 kB / 301.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.01378, allocations: 187.3 kB / 301.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.01461, allocations: 220 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.816e-05/0.01468, allocations: 71.33 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.339e-05/0.01475, allocations: 12.97 kB / 301.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01485, allocations: 67.36 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.994e-06/0.01485, allocations: 0 / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.005431/0.02028, allocations: 2.065 MB / 303.8 MB, free: 11.45 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9390333415940404]