Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001067/0.001067, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002541, 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.0007507/0.0007507, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.001701, 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 0.9796/0.9796, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08736/1.067, 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.2988/0.2988, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02406/0.3228, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.96e-05, allocations: 7.156 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002151/0.002171, allocations: 1.801 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.003243, allocations: 1.021 MB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.003312, allocations: 4 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.00348, allocations: 39.7 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.003736, allocations: 91.47 kB / 296.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.003897, allocations: 79.61 kB / 297 MB, free: 2.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.004113, allocations: 103.7 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.004209, allocations: 15.94 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.004353, allocations: 79.8 kB / 297.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.004444, allocations: 27.86 kB / 297.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.004465, allocations: 4 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.004573, allocations: 43.92 kB / 297.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.004618, allocations: 19.92 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.004658, allocations: 15.94 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.004829, allocations: 91.67 kB / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.004844, allocations: 0 / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.004846, allocations: 0 / 297.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.004862, allocations: 0 / 297.4 MB, free: 1.648 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.0004862/0.005348, allocations: 345 kB / 297.7 MB, free: 1.289 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.005381, allocations: 12.92 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.005421, allocations: 12.92 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005574, allocations: 137.6 kB / 297.9 MB, free: 1.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.00559, allocations: 4.375 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005606, allocations: 4.375 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.005711, allocations: 65.75 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005719, allocations: 192 / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.005726, allocations: 4.375 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.005731, allocations: 3.938 kB / 298 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.005757, allocations: 11.94 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.005951, allocations: 169.9 kB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.006036, allocations: 89.34 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.006052, allocations: 8.859 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.006063, allocations: 0 / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.819e-05/0.006151, allocations: 70.09 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.006152, allocations: 0 / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002837/0.006436, allocations: 109.5 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.006476, allocations: 55.41 kB / 298.5 MB, free: 460 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.006585, allocations: 173 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.006604, allocations: 33.7 kB / 298.7 MB, free: 232 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.00664, allocations: 88.12 kB / 298.8 MB, free: 140 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.006668, allocations: 31.72 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.0067, allocations: 21.72 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.006785, allocations: 326.8 kB / 299.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.006803, allocations: 10.81 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.006825, allocations: 22.66 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.006866, allocations: 48.52 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006868, allocations: 4 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.194e-05/0.00694, allocations: 68.48 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.006953, allocations: 11.94 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006957, allocations: 3.938 kB / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.006966, allocations: 0 / 299.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.007027, allocations: 16 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.00703, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.007057, allocations: 11.92 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.007063, allocations: 4 kB / 299.3 MB, free: 15.53 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.026e-05/0.007123, allocations: 112.7 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.007138, allocations: 19.95 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.007238, allocations: 79.62 kB / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.00724, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.007241, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.007246, allocations: 0 / 299.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.007462, allocations: 291.5 kB / 299.8 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.007466, allocations: 8.297 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.007493, allocations: 8 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.007502, allocations: 7.953 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.007506, allocations: 4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.007512, allocations: 8.031 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007513, allocations: 0 / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.007516, allocations: 3.938 kB / 299.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.805e-05/0.007614, allocations: 220.8 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.007628, allocations: 0 / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.007664, allocations: 0 / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.007691, allocations: 15.92 kB / 300.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.007703, allocations: 4 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.846e-05/0.007741, allocations: 44.34 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007741, allocations: 0 / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.007883, allocations: 27.89 kB / 300.2 MB, free: 14.63 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.00127/0.009154, allocations: 0.6169 MB / 300.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.649e-05/0.00924, allocations: 52.75 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.009247, allocations: 4 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.009272, allocations: 20.8 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.00945, allocations: 40.34 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.009867, allocations: 232.3 kB / 301.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.009911, allocations: 71.33 kB / 301.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.223e-05/0.009943, allocations: 8.984 kB / 301.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.01001, allocations: 71.48 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01001, allocations: 0 / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003829/0.01384, allocations: 2.05 MB / 303.3 MB, free: 11.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.9195506731048226]