Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001065/0.001065, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002518, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001056/0.001056, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.002478, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9805/0.9805, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09539/1.076, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.206e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01177/0.01179, allocations: 11.43 MB / 256.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.01823, allocations: 4.303 MB / 260.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007964/0.01902, allocations: 83.62 kB / 260.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.02173, allocations: 2.803 MB / 263.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.02507, allocations: 2.025 MB / 265.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.02638, allocations: 0.8265 MB / 266.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004705/0.03109, allocations: 5.24 MB / 271.7 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1188/0.1499, allocations: 3.145 MB / 274.9 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.1536, allocations: 2.734 MB / 277.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003532/0.1572, allocations: 2.491 MB / 280.1 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009692/0.1581, allocations: 355.6 kB / 280.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002009/0.1601, allocations: 1.254 MB / 281.7 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.1616, allocations: 2.006 MB / 283.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.1633, allocations: 1.141 MB / 284.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.1672, allocations: 4.632 MB / 289.5 MB, free: 1.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.1672, allocations: 0 / 289.5 MB, free: 1.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1672, allocations: 0 / 289.5 MB, free: 1.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.133e-05/0.1673, allocations: 0.7812 kB / 289.5 MB, free: 1.453 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.005897/0.1732, allocations: 5.879 MB / 295.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1732, allocations: 10.28 kB / 295.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/0.1771, allocations: 1.312 MB / 296.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.1794, allocations: 1.887 MB / 298.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.1796, allocations: 266.6 kB / 298.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006675/0.1802, allocations: 427.7 kB / 299.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007893/0.1881, allocations: 5.871 MB / 305.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.953e-05/0.1882, allocations: 48.83 kB / 305.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.1886, allocations: 173.9 kB / 305.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/0.191, allocations: 1.932 MB / 307.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006992/0.1979, allocations: 3.136 MB / 310.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04763/0.2456, allocations: 34.84 MB / 345.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004737/0.2503, allocations: 2.393 MB / 347.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.2509, allocations: 486.6 kB / 348.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005761/0.2566, allocations: 4.28 MB / 352.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.2567, allocations: 51.88 kB / 352.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=183): time 3.115e-06/0.2567, allocations: 0 / 352.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=205): time 0.01638/0.2731, allocations: 7.241 MB / 359.7 MB, free: 3.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007856/0.2738, allocations: 1.489 MB / 361.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.2767, allocations: 3.302 MB / 364.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.2768, allocations: 57.7 kB / 364.5 MB, free: 15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.2782, allocations: 3.354 MB / 367.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/0.2788, allocations: 0.8371 MB / 368.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001043/0.2798, allocations: 1.279 MB / 370 MB, free: 9.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.2799, allocations: 301.1 kB / 370.3 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.2812, allocations: 0.8899 MB / 371.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.2842, allocations: 4.882 MB / 376.1 MB, free: 2.016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/0.289, allocations: 6.492 MB / 382.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.26e-05/0.2891, allocations: 40 kB / 382.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=895) (initialization): time 0.008227/0.2973, allocations: 5.078 MB / 387.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.2974, allocations: 71.98 kB / 387.7 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003387/0.3008, allocations: 1.183 MB / 388.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/0.3038, allocations: 0.5974 MB / 389.5 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.3068, allocations: 1.716 MB / 391.2 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.3097, allocations: 3.128 MB / 394.4 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/0.3127, allocations: 298.8 kB / 394.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/0.313, allocations: 360 kB / 395 MB, free: 13.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 666 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 848 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001546/0.3146, allocations: 0.6942 MB / 395.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/0.315, allocations: 235.8 kB / 395.9 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.317, allocations: 1.351 MB / 397.3 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001344/0.3183, allocations: 0.8506 MB / 398.1 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3183, allocations: 4 kB / 398.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.3183, allocations: 11.97 kB / 398.2 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.326, allocations: 5.954 MB / 404.1 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.326, allocations: 16 kB / 404.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008414/0.3268, allocations: 380.4 kB / 404.5 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/0.3273, allocations: 345.5 kB / 404.8 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.3285, allocations: 0.5361 MB / 405.4 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.3286, allocations: 55.97 kB / 405.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.3305, allocations: 2.86 MB / 408.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005729/0.3311, allocations: 1.354 MB / 409.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.3339, allocations: 2.632 MB / 412.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.3342, allocations: 59.98 kB / 412.3 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.3351, allocations: 59.92 kB / 412.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.3353, allocations: 172.4 kB / 412.6 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.3354, allocations: 63.92 kB / 412.6 MB, free: 10.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.3364, allocations: 1.202 MB / 413.8 MB, free: 9.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3364, allocations: 0 / 413.8 MB, free: 9.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003524/0.3399, allocations: 1.258 MB / 415.1 MB, free: 8.305 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000377/0.3403, allocations: 216.4 kB / 415.3 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004648/0.345, allocations: 3.253 MB / 418.5 MB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001852/0.3452, allocations: 112.8 kB / 418.7 MB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.3464, allocations: 1.009 MB / 419.7 MB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.3488, allocations: 0.9502 MB / 420.6 MB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1298/0.4786, allocations: 8.825 MB / 429.4 MB, free: 112 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.4802, allocations: 1.337 MB / 430.8 MB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001825/0.482, allocations: 0.5334 MB / 431.3 MB, free: 111.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.4831, allocations: 0.6112 MB / 431.9 MB, free: 111.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.214e-06/0.4831, allocations: 0 / 431.9 MB, free: 111.8 MB / 394.7 MB Notification: Performance of Templates: time 0.06636/0.5494, allocations: 40.28 MB / 472.2 MB, free: 89 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/SpringDamperSystem/SpringDamperSystem.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: 4.102462591603398]