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.0009989/0.0009989, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001085/0.001085, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.051/1.051, allocations: 177 MB / 205.2 MB, free: 5.457 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.2898/0.2898, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.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 2.134e-06/2.134e-06, allocations: 0 / 326 MB, free: 7.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.307e-05, allocations: 3.625 kB / 326.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003402/0.003425, allocations: 1.832 MB / 327.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004633, allocations: 1.009 MB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.004703, allocations: 0 / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.005002, allocations: 107.6 kB / 329 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.005261, allocations: 127.4 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.005428, allocations: 83.59 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.005577, allocations: 128.3 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.005657, allocations: 15.98 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.005747, allocations: 71.8 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.005827, allocations: 51.88 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.00584, allocations: 8 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.005936, allocations: 67.84 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.919e-05/0.005975, allocations: 23.86 kB / 329.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.006009, allocations: 35.84 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.006161, allocations: 115.6 kB / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.006163, allocations: 0 / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006163, allocations: 0 / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.006166, allocations: 0 / 329.7 MB, free: 3.352 MB / 298.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.0003529/0.006519, allocations: 353.2 kB / 330.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.006549, allocations: 8.031 kB / 330.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.006582, allocations: 16.92 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.006732, allocations: 153.5 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006747, allocations: 4.375 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.006764, allocations: 4.375 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.006871, allocations: 65.75 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006881, allocations: 4.188 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.006887, allocations: 384 / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006894, allocations: 3.938 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.006919, allocations: 11.98 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.007132, allocations: 189.8 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.007262, allocations: 89.3 kB / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.00728, allocations: 12.98 kB / 330.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.00729, allocations: 4 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.007369, allocations: 66.27 kB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.00737, allocations: 0 / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003691/0.007739, allocations: 178.9 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.007767, allocations: 55.41 kB / 330.9 MB, free: 2.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.007885, allocations: 204.4 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.0079, allocations: 37.7 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.007931, allocations: 100 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.007959, allocations: 39.69 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.007991, allocations: 29.69 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.00806, allocations: 326.8 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.008078, allocations: 10.83 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.723e-05/0.008106, allocations: 30.19 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.008155, allocations: 53.11 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008156, allocations: 0 / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.147e-05/0.008238, allocations: 93.14 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.008248, allocations: 7.938 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.008252, allocations: 240 / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.008266, allocations: 4 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.008319, allocations: 19.98 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.008323, allocations: 3.984 kB / 331.8 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.008348, allocations: 7.984 kB / 331.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008354, allocations: 4 kB / 331.9 MB, free: 1.023 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 6.073e-05/0.008415, allocations: 120.6 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.00843, allocations: 15.92 kB / 332 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.008549, allocations: 91.16 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.008551, allocations: 0 / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.008553, allocations: 0 / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008556, allocations: 0 / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.008806, allocations: 340.1 kB / 332.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.008807, allocations: 0 / 332.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.008839, allocations: 15.98 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008842, allocations: 4 kB / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.008848, allocations: 0 / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.00885, allocations: 4.062 kB / 332.4 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008851, allocations: 4 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.008968, allocations: 237.5 kB / 332.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.00898, allocations: 11.91 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.008996, allocations: 4 kB / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.009038, allocations: 4 kB / 332.7 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.009064, allocations: 7.984 kB / 332.7 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.009075, allocations: 7.984 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.009125, allocations: 72.62 kB / 332.8 MB, free: 28 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009125, allocations: 0 / 332.8 MB, free: 28 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.000163/0.009288, allocations: 39.92 kB / 332.8 MB, free: 15.99 MB / 314.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.001509/0.0108, allocations: 0.6332 MB / 333.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01091, allocations: 56.72 kB / 333.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01091, allocations: 0 / 333.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.01094, allocations: 32.78 kB / 333.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.01113, allocations: 39.45 kB / 333.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.01144, allocations: 269.6 kB / 333.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.145e-05/0.01148, allocations: 75.33 kB / 333.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.883e-05/0.01152, allocations: 20.62 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.01159, allocations: 71.36 kB / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01159, allocations: 0 / 334 MB, free: 15.05 MB / 314.7 MB Notification: Performance of Templates: time 0.003646/0.01523, allocations: 2.298 MB / 336.3 MB, free: 12.8 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.01661886414513]