Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.00147/0.00147, 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.001768/0.001768, 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.047/1.047, allocations: 177 MB / 205.2 MB, free: 5.051 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.2637/0.2637, allocations: 34.86 MB / 296.6 MB, free: 404 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.717e-05, allocations: 2.312 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002152/0.002169, allocations: 1.815 MB / 327.9 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.003854, allocations: 1.742 MB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.603e-05/0.00393, allocations: 0 / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.004175, allocations: 31.78 kB / 329.6 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.004456, allocations: 107.4 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.004623, allocations: 79.61 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004764, allocations: 116.4 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.154e-05/0.004835, allocations: 15.92 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.034e-05/0.004915, allocations: 67.81 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.005012, allocations: 35.89 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.005026, allocations: 8 kB / 330.1 MB, free: 3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.005184, allocations: 111.8 kB / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.005221, allocations: 19.92 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.00525, allocations: 15.94 kB / 330.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.005454, allocations: 171.4 kB / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005456, allocations: 0 / 330.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.005457, allocations: 4 kB / 330.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005461, allocations: 0 / 330.4 MB, free: 2.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003663/0.005827, allocations: 345.3 kB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.005855, allocations: 8.031 kB / 330.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.005889, allocations: 12.92 kB / 330.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.006049, allocations: 149.5 kB / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.006063, allocations: 384 / 330.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.00608, allocations: 4.375 kB / 330.9 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.006208, allocations: 113.2 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006217, allocations: 192 / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.006224, allocations: 384 / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.00623, allocations: 3.938 kB / 331 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.612e-05/0.006266, allocations: 22.75 kB / 331 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.006464, allocations: 174 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.006547, allocations: 85.3 kB / 331.3 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.00657, allocations: 20.84 kB / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.006579, allocations: 0 / 331.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/0.006659, allocations: 66.14 kB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.00666, allocations: 0 / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002663/0.006927, allocations: 129.4 kB / 331.5 MB, free: 1.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.006956, allocations: 89.09 kB / 331.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.007055, allocations: 167.1 kB / 331.7 MB, free: 1.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.007067, allocations: 29.7 kB / 331.8 MB, free: 1.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.007094, allocations: 88.12 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.007119, allocations: 31.72 kB / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.00715, allocations: 21.72 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.007231, allocations: 330.8 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.00725, allocations: 14.81 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.007286, allocations: 60.2 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.00733, allocations: 47.28 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007332, allocations: 4.031 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.493e-05/0.007407, allocations: 72.44 kB / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.007417, allocations: 7.938 kB / 332.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.007421, allocations: 0 / 332.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007434, allocations: 4 kB / 332.4 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.007491, allocations: 15.98 kB / 332.4 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.007494, allocations: 7.938 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.00752, allocations: 4 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-06/0.007526, allocations: 4 kB / 332.5 MB, free: 392 kB / 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 (11): * Single equations (assignments): 11 * 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.075e-05/0.007587, allocations: 124.7 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.0076, allocations: 11.92 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.007701, allocations: 87.55 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007703, allocations: 0 / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.007706, allocations: 7.984 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007709, allocations: 0 / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.007932, allocations: 307.4 kB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.007935, allocations: 3.938 kB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.007962, allocations: 12 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007964, allocations: 32 / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007972, allocations: 15.92 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.007975, allocations: 4 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007976, allocations: 0 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.998e-05/0.008076, allocations: 211.7 kB / 333.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.008089, allocations: 19.83 kB / 333.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.008106, allocations: 8 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.008148, allocations: 0 / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.00817, allocations: 7.984 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.008183, allocations: 8 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.00822, allocations: 44.52 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008221, allocations: 4 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.008394, allocations: 51.86 kB / 333.4 MB, free: 15.41 MB / 314.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 (11): * Single equations (assignments): 9 * 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.001522/0.009916, allocations: 0.6931 MB / 334.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01004, allocations: 44.78 kB / 334.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.01004, allocations: 4 kB / 334.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.01008, allocations: 28.78 kB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01031, allocations: 36.41 kB / 334.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.01064, allocations: 216 kB / 334.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.548e-05/0.01069, allocations: 67.34 kB / 334.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.01075, allocations: 24.73 kB / 334.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.01085, allocations: 83.34 kB / 334.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01085, allocations: 0 / 334.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of Templates: time 0.004894/0.01574, allocations: 2.907 MB / 337.5 MB, free: 11.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.1428170520812273]