Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.0007913/0.0007913, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009601/0.001751, 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.0006596/0.0006596, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008879/0.001547, 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.9957/0.9957, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.136/1.132, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.2739/0.2739, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0284/0.3023, allocations: 13.23 MB / 292.6 MB, free: 6.461 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 3.938 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.91e-05, allocations: 3.844 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003292/0.003321, allocations: 1.8 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.005005, allocations: 1.025 MB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.005087, allocations: 0 / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.005359, allocations: 95.62 kB / 296.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.005623, allocations: 115.4 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.005832, allocations: 79.59 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.00603, allocations: 119.6 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.006122, allocations: 7.984 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.00629, allocations: 91.73 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.006408, allocations: 47.89 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.006426, allocations: 4 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.006528, allocations: 47.91 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.006582, allocations: 27.88 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.006628, allocations: 15.94 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.006829, allocations: 99.61 kB / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.661e-05/0.006845, allocations: 0 / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.006846, allocations: 0 / 297.5 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.006864, allocations: 0 / 297.5 MB, free: 1.504 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.0005589/0.007423, allocations: 348.9 kB / 297.9 MB, free: 1.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.00746, allocations: 8.922 kB / 297.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.007502, allocations: 12.94 kB / 297.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.007707, allocations: 153.5 kB / 298 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.007725, allocations: 8.375 kB / 298 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.007744, allocations: 4.375 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.007878, allocations: 61.7 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.007888, allocations: 192 / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.007897, allocations: 4.375 kB / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.007906, allocations: 3.938 kB / 298.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.007948, allocations: 15.98 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002737/0.008222, allocations: 162 kB / 298.3 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.008341, allocations: 85.36 kB / 298.4 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.008366, allocations: 16.84 kB / 298.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.00838, allocations: 3.938 kB / 298.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.008502, allocations: 62.2 kB / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.008504, allocations: 0 / 298.5 MB, free: 484 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003624/0.008866, allocations: 113.5 kB / 298.6 MB, free: 364 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.008907, allocations: 55.41 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.009064, allocations: 193.6 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.009081, allocations: 25.7 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.009142, allocations: 96.09 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.009175, allocations: 23.8 kB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.00922, allocations: 33.69 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.009326, allocations: 322.8 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.009347, allocations: 10.83 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.009379, allocations: 25.69 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.009438, allocations: 44.53 kB / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.009439, allocations: 0 / 299.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001079/0.009547, allocations: 76.42 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.009561, allocations: 7.938 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.009566, allocations: 7.969 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.009577, allocations: 4 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.00966, allocations: 15.98 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.009667, allocations: 4 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.009703, allocations: 0 / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.00971, allocations: 4 kB / 299.5 MB, free: 15.35 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 7.485e-05/0.009785, allocations: 114.9 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.009806, allocations: 19.86 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.009927, allocations: 76.06 kB / 299.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.009932, allocations: 7.984 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.009934, allocations: 4 kB / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009937, allocations: 0 / 299.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.0102, allocations: 291.4 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.01021, allocations: 4.312 kB / 300 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.135e-05/0.01025, allocations: 15.92 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.01027, allocations: 11.95 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01027, allocations: 4 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.01028, allocations: 4 kB / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01028, allocations: 0 / 300 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01028, allocations: 4 kB / 300 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01042, allocations: 223 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.01044, allocations: 4 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.0105, allocations: 4 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.01054, allocations: 7.984 kB / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01055, allocations: 0 / 300.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.01061, allocations: 61.59 kB / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01061, allocations: 0 / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.01085, allocations: 27.94 kB / 300.4 MB, free: 14.42 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.001876/0.01273, allocations: 0.6154 MB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.01282, allocations: 44.7 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.01283, allocations: 4 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/0.01286, allocations: 32.91 kB / 301.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01304, allocations: 47.23 kB / 301.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.01346, allocations: 234.7 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.01351, allocations: 71.33 kB / 301.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.181e-05/0.01354, allocations: 8.984 kB / 301.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.0136, allocations: 67.36 kB / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0136, allocations: 0 / 301.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of Templates: time 0.003686/0.01729, allocations: 2.068 MB / 303.5 MB, free: 11.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.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.76784242503345]