Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.0009367/0.0009367, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004837/0.005774, 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.001007/0.001007, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004351/0.005358, 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 1.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.108, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2724/0.2724, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02734/0.2997, allocations: 13.23 MB / 292.8 MB, free: 6.387 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.883e-05, allocations: 8.562 kB / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002571/0.0026, allocations: 1.833 MB / 296 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.003969, allocations: 1.025 MB / 297.1 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.004076, allocations: 7.938 kB / 297.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.004393, allocations: 103.6 kB / 297.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.004724, allocations: 131.3 kB / 297.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.004979, allocations: 83.55 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.0052, allocations: 131.5 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005303, allocations: 11.98 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.005472, allocations: 99.78 kB / 297.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.005584, allocations: 51.88 kB / 297.7 MB, free: 1.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.005603, allocations: 4 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.005732, allocations: 67.84 kB / 297.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.005787, allocations: 23.94 kB / 297.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.005826, allocations: 19.88 kB / 297.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.006052, allocations: 123.5 kB / 297.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.006069, allocations: 0 / 297.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00607, allocations: 0 / 297.9 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.006083, allocations: 0 / 297.9 MB, free: 1.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006265/0.006709, allocations: 368.8 kB / 298.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.006759, allocations: 12.92 kB / 298.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.00681, allocations: 12.92 kB / 298.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.007062, allocations: 157.5 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.00709, allocations: 4.359 kB / 298.4 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.007122, allocations: 4.375 kB / 298.5 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.00729, allocations: 69.7 kB / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.007306, allocations: 4.172 kB / 298.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.007325, allocations: 384 / 298.5 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007334, allocations: 3.938 kB / 298.5 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.569e-05/0.00737, allocations: 15.98 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.007708, allocations: 178 kB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.007928, allocations: 89.23 kB / 298.8 MB, free: 292 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.007971, allocations: 20.97 kB / 298.8 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.007988, allocations: 0 / 298.8 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.008132, allocations: 62.2 kB / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.008133, allocations: 0 / 298.9 MB, free: 192 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006613/0.008795, allocations: 184.7 kB / 299.1 MB, free: 4 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.008866, allocations: 63.45 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.009015, allocations: 208.3 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.009035, allocations: 25.7 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.00908, allocations: 96.11 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.009125, allocations: 43.61 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.00917, allocations: 25.7 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.009313, allocations: 330.8 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.009342, allocations: 14.83 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/0.009384, allocations: 25.7 kB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.223e-05/0.009456, allocations: 52.52 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.00946, allocations: 4 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001442/0.009604, allocations: 88.3 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.009624, allocations: 4 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.009632, allocations: 0 / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.009655, allocations: 0 / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.009756, allocations: 27.92 kB / 300.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.009763, allocations: 4 kB / 300.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.083e-05/0.009804, allocations: 4 kB / 300.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.009816, allocations: 4 kB / 300.1 MB, free: 14.93 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 (13): * Single equations (assignments): 13 * 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.0001096/0.009925, allocations: 128.7 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.009952, allocations: 11.94 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.01011, allocations: 91.64 kB / 300.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01011, allocations: 3.938 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01012, allocations: 0 / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01012, allocations: 4 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.01043, allocations: 332.2 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01044, allocations: 0 / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.01048, allocations: 23.94 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.01049, allocations: 19.89 kB / 300.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.0105, allocations: 4 kB / 300.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01051, allocations: 7.984 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.01051, allocations: 4 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01051, allocations: 0 / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.01065, allocations: 225.9 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01067, allocations: 8 kB / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.01072, allocations: 0 / 300.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01075, allocations: 11.92 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01077, allocations: 8 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.084e-05/0.01083, allocations: 76.86 kB / 301 MB, free: 13.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01083, allocations: 0 / 301 MB, free: 13.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.011, allocations: 27.94 kB / 301 MB, free: 13.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001875/0.01288, allocations: 0.7114 MB / 301.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.01304, allocations: 52.77 kB / 301.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/0.01306, allocations: 4 kB / 301.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.537e-05/0.01311, allocations: 40.88 kB / 301.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.01346, allocations: 176.4 kB / 302 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.01407, allocations: 285.2 kB / 302.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.544e-05/0.01412, allocations: 71.33 kB / 302.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.01418, allocations: 24.81 kB / 302.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.01426, allocations: 75.36 kB / 302.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.01426, allocations: 0 / 302.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of Templates: time 0.004563/0.01883, allocations: 2.344 MB / 304.8 MB, free: 10.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.873551276512444]