Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0007478/0.0007478, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001821, 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.00072/0.00072, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009665/0.001687, 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.019/1.019, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.12, allocations: 53.86 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.3069/0.3069, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03088/0.3378, allocations: 13.23 MB / 292.8 MB, free: 6.391 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.093e-05, allocations: 8.781 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002684/0.002715, allocations: 1.818 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.004856, allocations: 1.772 MB / 297.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.004952, allocations: 0 / 297.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.005189, allocations: 43.72 kB / 297.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.005501, allocations: 103.3 kB / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.00575, allocations: 87.55 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.005949, allocations: 115.6 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.006038, allocations: 7.938 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.006169, allocations: 79.86 kB / 298.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.006285, allocations: 43.81 kB / 298.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.006303, allocations: 8 kB / 298.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.006514, allocations: 107.8 kB / 298.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.006569, allocations: 15.94 kB / 298.4 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.006605, allocations: 23.94 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.006855, allocations: 163.4 kB / 298.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.006867, allocations: 0 / 298.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.006869, allocations: 0 / 298.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.00688, allocations: 0 / 298.6 MB, free: 0.6055 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004915/0.007371, allocations: 349 kB / 298.9 MB, free: 248 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.007406, allocations: 12.92 kB / 298.9 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.007452, allocations: 8.938 kB / 298.9 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.007643, allocations: 149.5 kB / 299.1 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.007659, allocations: 4.375 kB / 299.1 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.007683, allocations: 16.25 kB / 299.1 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.007848, allocations: 109.2 kB / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007858, allocations: 192 / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.007866, allocations: 384 / 299.2 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.007875, allocations: 11.92 kB / 299.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.007911, allocations: 14.81 kB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.00815, allocations: 177.9 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.008258, allocations: 89.23 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.008281, allocations: 20.84 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.008295, allocations: 4 kB / 299.5 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.008405, allocations: 66.28 kB / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.008407, allocations: 0 / 299.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003575/0.008764, allocations: 137.4 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.008796, allocations: 55.34 kB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.008917, allocations: 160.3 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.008937, allocations: 33.7 kB / 300 MB, free: 15.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.008974, allocations: 92.11 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.009005, allocations: 27.73 kB / 300.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.009046, allocations: 29.7 kB / 300.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.009139, allocations: 330.8 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.00916, allocations: 10.83 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.00921, allocations: 58.78 kB / 300.5 MB, free: 14.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.864e-05/0.009258, allocations: 48.41 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00926, allocations: 0 / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.089e-05/0.009351, allocations: 76.42 kB / 300.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.009366, allocations: 7.938 kB / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.009371, allocations: 0 / 300.6 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.009387, allocations: 4 kB / 300.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.009475, allocations: 28.05 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.009478, allocations: 3.938 kB / 300.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.009509, allocations: 0 / 300.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.009516, allocations: 4 kB / 300.7 MB, free: 14.31 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 (11): * Single equations (assignments): 11 * 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 7.746e-05/0.009593, allocations: 116.7 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.00961, allocations: 11.92 kB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.009748, allocations: 86.38 kB / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.009751, allocations: 0 / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.009753, allocations: 0 / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.009758, allocations: 0 / 300.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.01003, allocations: 310.3 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.01003, allocations: 3.938 kB / 301.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.01008, allocations: 19.92 kB / 301.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.01009, allocations: 11.91 kB / 301.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01009, allocations: 4 kB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.0101, allocations: 8 kB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.0101, allocations: 0 / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0101, allocations: 4 kB / 301.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.01024, allocations: 219.8 kB / 301.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01026, allocations: 8 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.01031, allocations: 4.031 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.01034, allocations: 7.984 kB / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01036, allocations: 11.98 kB / 301.5 MB, free: 13.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.01041, allocations: 44.91 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01041, allocations: 0 / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.01062, allocations: 55.8 kB / 301.6 MB, free: 13.34 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 (11): * Single equations (assignments): 9 * 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.001842/0.01246, allocations: 0.7663 MB / 302.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.0126, allocations: 44.78 kB / 302.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.01261, allocations: 0 / 302.4 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.01266, allocations: 40.78 kB / 302.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.01293, allocations: 188.5 kB / 302.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.01354, allocations: 223.9 kB / 302.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01358, allocations: 63.34 kB / 302.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.48e-05/0.01365, allocations: 24.56 kB / 302.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.01374, allocations: 87.33 kB / 303 MB, free: 12.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01374, allocations: 0 / 303 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Templates: time 0.005014/0.01876, allocations: 2.952 MB / 305.9 MB, free: 9.289 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.9834538232535124]