Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001266/0.001266, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.004402/0.004402, 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.032/1.032, allocations: 177 MB / 205.2 MB, free: 5.047 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.2783/0.2783, allocations: 34.86 MB / 296.6 MB, free: 452 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 4 kB / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.495e-05, allocations: 2.312 kB / 326 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002473/0.002498, allocations: 1.814 MB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003799, allocations: 1.009 MB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.003871, allocations: 4 kB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.004126, allocations: 47.69 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.004383, allocations: 103.5 kB / 329 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.004602, allocations: 75.67 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.004754, allocations: 112.4 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.004833, allocations: 11.98 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.004921, allocations: 59.81 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.004987, allocations: 23.92 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.005, allocations: 7.938 kB / 329.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.254e-05/0.005083, allocations: 43.92 kB / 329.4 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.005128, allocations: 27.84 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.005167, allocations: 31.86 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.005331, allocations: 103.7 kB / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005333, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005335, allocations: 0 / 329.5 MB, free: 3.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005339, allocations: 0 / 329.5 MB, free: 3.535 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.0003515/0.00569, allocations: 357.2 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.00572, allocations: 8.031 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.00575, allocations: 12.88 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.005944, allocations: 166.4 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005958, allocations: 384 / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.005975, allocations: 8.375 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.006078, allocations: 61.77 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.006087, allocations: 192 / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006097, allocations: 384 / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006104, allocations: 3.938 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.525e-05/0.006129, allocations: 11.98 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.006339, allocations: 165.9 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.006421, allocations: 85.28 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.006441, allocations: 16.91 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.006453, allocations: 8 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.212e-05/0.006536, allocations: 54.22 kB / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.006537, allocations: 0 / 330.4 MB, free: 2.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002789/0.006816, allocations: 125.5 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.006841, allocations: 51.41 kB / 330.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.006962, allocations: 219.9 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.006977, allocations: 29.7 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.007008, allocations: 96.11 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.007034, allocations: 23.78 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.00707, allocations: 25.7 kB / 331 MB, free: 1.883 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.007145, allocations: 334.8 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.007162, allocations: 6.828 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.007185, allocations: 25.7 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.007226, allocations: 40.89 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007228, allocations: 4 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.705e-05/0.007305, allocations: 68.44 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.007316, allocations: 7.938 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.007321, allocations: 4 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.007336, allocations: 12.02 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.079e-05/0.007396, allocations: 15.94 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.007399, allocations: 3.938 kB / 331.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.007428, allocations: 8 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.007434, allocations: 4 kB / 331.5 MB, free: 1.328 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.443e-05/0.007499, allocations: 120.6 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.007515, allocations: 19.92 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.007714, allocations: 71.08 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007717, allocations: 4 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.007718, allocations: 0 / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007722, allocations: 4 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.007948, allocations: 303.6 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.007951, allocations: 3.938 kB / 332 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.007977, allocations: 12 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.007981, allocations: 0 / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.007991, allocations: 3.984 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007992, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.007994, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.008096, allocations: 215 kB / 332.3 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.008111, allocations: 15.84 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.008128, allocations: 12.02 kB / 332.3 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.008169, allocations: 4 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.008193, allocations: 7.984 kB / 332.3 MB, free: 484 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.008205, allocations: 4 kB / 332.3 MB, free: 480 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.00826, allocations: 65.02 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00826, allocations: 4 kB / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.008412, allocations: 27.92 kB / 332.4 MB, free: 380 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.001244/0.009656, allocations: 0.5676 MB / 333 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.009751, allocations: 40.78 kB / 333 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.009754, allocations: 0 / 333 MB, free: 48 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.009784, allocations: 24.84 kB / 333 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.009979, allocations: 32.05 kB / 333.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.01031, allocations: 272.4 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.01034, allocations: 71.33 kB / 333.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.01038, allocations: 21.27 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.01045, allocations: 67.36 kB / 333.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01045, allocations: 0 / 333.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Templates: time 0.003778/0.01422, allocations: 2.047 MB / 335.5 MB, free: 13.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.1775379138998687]