Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.0009337/0.0009337, 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.0009295/0.0009295, allocations: 163.3 kB / 24.91 MB, free: 8.766 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.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.434 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.2627/0.2627, allocations: 34.87 MB / 296.6 MB, free: 0.5312 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 326 MB, free: 7.059 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.319e-05, allocations: 2.312 kB / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002254/0.002268, allocations: 2.236 MB / 328.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.003896, allocations: 1.316 MB / 329.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.004004, allocations: 4 kB / 329.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.004297, allocations: 123.2 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.004676, allocations: 254.8 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.005037, allocations: 199.4 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.00542, allocations: 474.4 kB / 330.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.005525, allocations: 45.23 kB / 330.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.005822, allocations: 327.2 kB / 331 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.005947, allocations: 131.5 kB / 331.1 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.005974, allocations: 20 kB / 331.1 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.006076, allocations: 71.91 kB / 331.2 MB, free: 1.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.006172, allocations: 147.5 kB / 331.3 MB, free: 1.715 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.044e-05/0.006252, allocations: 103.5 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.006526, allocations: 338.5 kB / 331.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.006528, allocations: 0 / 331.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.006528, allocations: 0 / 331.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006533, allocations: 0 / 331.8 MB, free: 1.281 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000658/0.007191, allocations: 0.7329 MB / 332.5 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.00722, allocations: 8.031 kB / 332.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.007273, allocations: 44.89 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.007551, allocations: 338.5 kB / 332.9 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.007572, allocations: 12.38 kB / 332.9 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.0076, allocations: 16.36 kB / 332.9 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.007802, allocations: 181 kB / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.007816, allocations: 8.078 kB / 333.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.007828, allocations: 8.375 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.007835, allocations: 3.938 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.007902, allocations: 55.27 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.008337, allocations: 0.5495 MB / 333.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.008616, allocations: 377.3 kB / 334.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.008671, allocations: 51.67 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.008684, allocations: 4 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.008829, allocations: 175.1 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.072e-06/0.00883, allocations: 4 kB / 334.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008477/0.009677, allocations: 0.6024 MB / 334.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.00973, allocations: 136.5 kB / 335 MB, free: 13.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.0102, allocations: 0.5641 MB / 335.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01022, allocations: 37.7 kB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.01029, allocations: 170.2 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.01037, allocations: 146.8 kB / 335.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.01043, allocations: 74.12 kB / 336 MB, free: 12.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.01052, allocations: 374.6 kB / 336.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.01057, allocations: 47.8 kB / 336.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.01066, allocations: 115.8 kB / 336.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01081, allocations: 210.4 kB / 336.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.01082, allocations: 0 / 336.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002112/0.01103, allocations: 255.6 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.01104, allocations: 4 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01104, allocations: 4 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01106, allocations: 4 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.01119, allocations: 79.83 kB / 337.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.0112, allocations: 4 kB / 337.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.01127, allocations: 24.11 kB / 337.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01129, allocations: 12 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 9.645e-05/0.01138, allocations: 147 kB / 337.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.01143, allocations: 51.89 kB / 337.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.0117, allocations: 292.7 kB / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01171, allocations: 4 kB / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01171, allocations: 0 / 337.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01171, allocations: 7.984 kB / 337.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.01234, allocations: 1.044 MB / 338.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01234, allocations: 0 / 338.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.01244, allocations: 59.91 kB / 338.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.01245, allocations: 4 kB / 338.7 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.01246, allocations: 23.92 kB / 338.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.01247, allocations: 11.94 kB / 338.8 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.01247, allocations: 3.938 kB / 338.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.01281, allocations: 0.7712 MB / 339.5 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.01289, allocations: 75.55 kB / 339.6 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.01293, allocations: 16 kB / 339.6 MB, free: 8.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.01307, allocations: 23.92 kB / 339.6 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.01312, allocations: 35.94 kB / 339.7 MB, free: 8.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.01314, allocations: 19.98 kB / 339.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001852/0.01332, allocations: 291.4 kB / 340 MB, free: 8.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01332, allocations: 0 / 340 MB, free: 8.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.01362, allocations: 95.86 kB / 340.1 MB, free: 8.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001281/0.0149, allocations: 0.6513 MB / 340.7 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.01512, allocations: 205.2 kB / 340.9 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.01513, allocations: 8 kB / 340.9 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.986e-05/0.01523, allocations: 122.1 kB / 341.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.01571, allocations: 144.1 kB / 341.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.0165, allocations: 0.8842 MB / 342.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.0166, allocations: 150.2 kB / 342.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.01672, allocations: 79.36 kB / 342.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.01688, allocations: 139.3 kB / 342.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01689, allocations: 0 / 342.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of Templates: time 0.007818/0.0247, allocations: 6.276 MB / 348.7 MB, free: 196 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.1168673732317984]