Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001374/0.001374, allocations: 88.86 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.001737/0.001737, allocations: 161.4 kB / 24.91 MB, free: 8.719 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.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.023 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.2891/0.2891, allocations: 34.86 MB / 296.6 MB, free: 392 kB / 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 326 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.56e-05, allocations: 6.312 kB / 326.1 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002573/0.002598, allocations: 1.813 MB / 327.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.003923, allocations: 1.006 MB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.004003, allocations: 4 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.004283, allocations: 51.69 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.004571, allocations: 103.5 kB / 329 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.004772, allocations: 71.67 kB / 329.1 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00015/0.004922, allocations: 116.4 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.005003, allocations: 11.92 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.005088, allocations: 47.91 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.005156, allocations: 31.83 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.005171, allocations: 8 kB / 329.3 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.005256, allocations: 43.92 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.005303, allocations: 31.84 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.005339, allocations: 27.88 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.005507, allocations: 107.6 kB / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.00551, allocations: 0 / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005511, allocations: 0 / 329.5 MB, free: 3.523 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.005516, allocations: 0 / 329.5 MB, free: 3.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003941/0.00591, allocations: 353.2 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.005942, allocations: 11.97 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.005978, allocations: 12.92 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.006143, allocations: 158.4 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.006157, allocations: 4.375 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.006172, allocations: 4.375 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.006278, allocations: 69.75 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006287, allocations: 192 / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.006294, allocations: 384 / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.0063, allocations: 3.938 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.006325, allocations: 8 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.006532, allocations: 170 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.056e-05/0.006623, allocations: 85.28 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.006642, allocations: 8.859 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.006654, allocations: 4 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.006754, allocations: 66.2 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.006756, allocations: 0 / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002894/0.007045, allocations: 121.5 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.007075, allocations: 55.41 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.007198, allocations: 216 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.007212, allocations: 25.7 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.007246, allocations: 96.11 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.007275, allocations: 31.77 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.007305, allocations: 21.72 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.007383, allocations: 334.8 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.007401, allocations: 6.828 kB / 331.3 MB, free: 1.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.007424, allocations: 25.7 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.007469, allocations: 40.5 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007471, allocations: 7.938 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.353e-05/0.007554, allocations: 68.5 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.007568, allocations: 7.938 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.007573, allocations: 4.312 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.007587, allocations: 8.031 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.007656, allocations: 19.92 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.007659, allocations: 0 / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.00769, allocations: 12 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.007694, allocations: 0 / 331.5 MB, free: 1.32 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.763e-05/0.007762, allocations: 120.7 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.007777, allocations: 15.92 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.007888, allocations: 79.06 kB / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00789, allocations: 0 / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.007891, allocations: 4 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007894, allocations: 4 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.008118, allocations: 303.6 kB / 332 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.008121, allocations: 3.938 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/0.008147, allocations: 8 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.00815, allocations: 4 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.008155, allocations: 0 / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008157, allocations: 0 / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.008159, allocations: 4 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.008261, allocations: 215 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.008276, allocations: 15.84 kB / 332.3 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.008293, allocations: 12.03 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.008332, allocations: 0 / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.008359, allocations: 7.984 kB / 332.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.008371, allocations: 8 kB / 332.3 MB, free: 472 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.008426, allocations: 69 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008426, allocations: 0 / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.008587, allocations: 27.94 kB / 332.4 MB, free: 372 kB / 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.001307/0.009894, allocations: 0.5642 MB / 333 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.01, allocations: 52.7 kB / 333 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.01001, allocations: 0 / 333 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.01003, allocations: 20.86 kB / 333 MB, free: 0 / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.01024, allocations: 31.98 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.01059, allocations: 264.5 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.01063, allocations: 75.33 kB / 333.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.735e-05/0.01067, allocations: 17.27 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.01073, allocations: 71.36 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01073, allocations: 0 / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of Templates: time 0.00383/0.01456, allocations: 2.041 MB / 335.5 MB, free: 13.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.0846845200285316]