Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.00127/0.00127, 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.001098/0.001098, allocations: 161 kB / 24.91 MB, free: 9.184 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.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.2696/0.2696, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 326.1 MB, free: 7.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.456e-05, allocations: 7.016 kB / 326.1 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002757/0.002781, allocations: 1.843 MB / 327.9 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.004092, allocations: 1.01 MB / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.004176, allocations: 0 / 328.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.004508, allocations: 115.6 kB / 329 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.004828, allocations: 131.4 kB / 329.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.00505, allocations: 83.59 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.005253, allocations: 144.3 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.005354, allocations: 18.22 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.005471, allocations: 71.86 kB / 329.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.005574, allocations: 67.8 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.005591, allocations: 4 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.005705, allocations: 63.86 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.005766, allocations: 39.84 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.005803, allocations: 23.92 kB / 329.7 MB, free: 3.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005983, allocations: 131.5 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005986, allocations: 3.984 kB / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005987, allocations: 0 / 329.8 MB, free: 3.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.005993, allocations: 4 kB / 329.8 MB, free: 3.266 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004057/0.006399, allocations: 357.1 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.006433, allocations: 16.02 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.006469, allocations: 12.94 kB / 330.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.00663, allocations: 166.4 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.006644, allocations: 8.375 kB / 330.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.006661, allocations: 4.375 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.006775, allocations: 73.75 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006785, allocations: 192 / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.006793, allocations: 4.375 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.0068, allocations: 3.938 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.006837, allocations: 23.91 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.007069, allocations: 185.9 kB / 330.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.007223, allocations: 105.3 kB / 330.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.007246, allocations: 16.86 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.007257, allocations: 3.938 kB / 330.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.467e-05/0.007351, allocations: 78.14 kB / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.007353, allocations: 112 / 330.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004463/0.007799, allocations: 203.7 kB / 331 MB, free: 1.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.007826, allocations: 51.41 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.007947, allocations: 217.1 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.007961, allocations: 25.7 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.007996, allocations: 104 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.008033, allocations: 59.56 kB / 331.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.008067, allocations: 29.69 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.008149, allocations: 326.8 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.008175, allocations: 18.81 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.008207, allocations: 36.08 kB / 331.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.008269, allocations: 67.83 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00827, allocations: 3.938 kB / 331.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001054/0.008376, allocations: 92.42 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.008388, allocations: 4 kB / 332 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.008394, allocations: 12.03 kB / 332.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.008407, allocations: 0 / 332.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.008472, allocations: 23.98 kB / 332.1 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.008476, allocations: 4 kB / 332.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.008504, allocations: 4 kB / 332.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.008512, allocations: 4 kB / 332.1 MB, free: 0.7891 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 (16): * Single equations (assignments): 16 * 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.999e-05/0.008582, allocations: 128.5 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.0086, allocations: 19.97 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.008738, allocations: 111 kB / 332.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.008741, allocations: 8 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008743, allocations: 0 / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.008747, allocations: 0 / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.009024, allocations: 360.1 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009026, allocations: 0 / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.00907, allocations: 19.98 kB / 332.7 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.009073, allocations: 4 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.00908, allocations: 0 / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.009083, allocations: 7.984 kB / 332.7 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009084, allocations: 0 / 332.7 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.00923, allocations: 254.3 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.009244, allocations: 11.91 kB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.009266, allocations: 15.92 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.244e-05/0.009308, allocations: 0 / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.009339, allocations: 19.92 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.009354, allocations: 4 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.844e-05/0.009412, allocations: 73.91 kB / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009412, allocations: 0 / 333.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.009582, allocations: 39.94 kB / 333.1 MB, free: 15.66 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 (16): * Single equations (assignments): 14 * 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.001733/0.01131, allocations: 0.6362 MB / 333.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01144, allocations: 72.69 kB / 333.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.01145, allocations: 0 / 333.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.01149, allocations: 40.78 kB / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.01168, allocations: 27.98 kB / 333.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.01206, allocations: 305.2 kB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.596e-05/0.01211, allocations: 79.83 kB / 334.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.01216, allocations: 21.47 kB / 334.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.01224, allocations: 75.36 kB / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01224, allocations: 0 / 334.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of Templates: time 0.004355/0.01659, allocations: 2.581 MB / 337 MB, free: 12.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.0969614856876433]