Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001087/0.001087, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001324/0.001324, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.065/1.065, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.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.1676/0.1676, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.314e-05, allocations: 3.156 kB / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002437/0.002461, allocations: 1.951 MB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.003469, allocations: 1.024 MB / 383.1 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.003557, allocations: 7.938 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.003813, allocations: 43.7 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.004038, allocations: 107.3 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.004183, allocations: 99.58 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.004321, allocations: 155.5 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.004414, allocations: 21.8 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.004494, allocations: 71.8 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.004571, allocations: 39.84 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.004587, allocations: 8 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.613e-05/0.004653, allocations: 51.91 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.274e-05/0.004695, allocations: 23.92 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.004731, allocations: 35.84 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.004895, allocations: 127.5 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004898, allocations: 0 / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.004899, allocations: 0 / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004903, allocations: 0 / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003535/0.005257, allocations: 0.4974 MB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.005286, allocations: 12.03 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.005321, allocations: 24.78 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.005456, allocations: 181 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.00547, allocations: 8.375 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.005486, allocations: 4.375 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.005612, allocations: 143.6 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005619, allocations: 192 / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.005627, allocations: 4.375 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005632, allocations: 3.938 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.005669, allocations: 19.98 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.005955, allocations: 0.5567 MB / 385.3 MB, free: 17.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.006096, allocations: 63.09 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.006118, allocations: 27.62 kB / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.006128, allocations: 0 / 385.4 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.3e-05/0.006211, allocations: 102.7 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.006212, allocations: 0 / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001566/0.006369, allocations: 101.5 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.006387, allocations: 51.41 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006497, allocations: 248.9 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.006509, allocations: 29.7 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.006554, allocations: 166.7 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.00657, allocations: 31.77 kB / 386.1 MB, free: 16.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.006601, allocations: 31.38 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.354e-05/0.006645, allocations: 0.5001 MB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.006664, allocations: 11.94 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.006693, allocations: 58.41 kB / 386.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.006751, allocations: 86.34 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006753, allocations: 3.938 kB / 386.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.974e-05/0.006853, allocations: 109.4 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006865, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006869, allocations: 4 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.006878, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.006941, allocations: 27.92 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006944, allocations: 3.984 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/0.006976, allocations: 16.06 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.006983, allocations: 7.938 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 4.916e-05/0.007032, allocations: 166.1 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.007048, allocations: 23.83 kB / 387.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.007159, allocations: 99.59 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.007163, allocations: 8 kB / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007164, allocations: 0 / 387.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.007168, allocations: 3.984 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.007243, allocations: 129.2 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.007243, allocations: 7.938 kB / 387.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.007288, allocations: 12 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.00729, allocations: 3.938 kB / 387.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.007299, allocations: 8 kB / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.007299, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0073, allocations: 0 / 387.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.007422, allocations: 154.5 kB / 387.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.007436, allocations: 19.84 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.00745, allocations: 3.984 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/0.007478, allocations: 4 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.007508, allocations: 11.98 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.00752, allocations: 4.031 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.007567, allocations: 163.1 kB / 387.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007567, allocations: 0 / 387.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.007726, allocations: 35.94 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000747/0.008473, allocations: 373.6 kB / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.008562, allocations: 59.53 kB / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.008564, allocations: 0 / 388.2 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.008598, allocations: 31.61 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.008803, allocations: 39.91 kB / 388.3 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.009117, allocations: 269.9 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.317e-05/0.00914, allocations: 71.83 kB / 388.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.877e-05/0.009179, allocations: 17.47 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.009244, allocations: 98.19 kB / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009245, allocations: 0 / 388.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Templates: time 0.003906/0.01315, allocations: 2.282 MB / 391 MB, free: 11.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.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: 3.512425435706973]