Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009713/0.0009713, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.957/0.957, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 273.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.544e-05, allocations: 5.266 kB / 273.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007493/0.007519, allocations: 9.888 MB / 283.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.01309, allocations: 3.876 MB / 287.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.01382, allocations: 75.56 kB / 287.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.01656, allocations: 2.429 MB / 289.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.01915, allocations: 1.75 MB / 291.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.02008, allocations: 0.6665 MB / 292.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.0234, allocations: 3.879 MB / 296.1 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.0259, allocations: 2.739 MB / 298.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.02793, allocations: 2.05 MB / 300.9 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.0299, allocations: 1.898 MB / 302.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003785/0.03028, allocations: 300 kB / 303.1 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.03166, allocations: 1.104 MB / 304.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.03278, allocations: 1.823 MB / 306 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.03375, allocations: 1.129 MB / 307.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.03709, allocations: 4.048 MB / 311.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.03709, allocations: 0 / 311.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.03709, allocations: 0 / 311.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.499e-05/0.03715, allocations: 0 / 311.2 MB, free: 14.57 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.004106/0.04125, allocations: 3.923 MB / 315.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.04129, allocations: 19.97 kB / 315.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.04402, allocations: 1.043 MB / 316.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.04583, allocations: 1.554 MB / 317.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.04595, allocations: 217.6 kB / 317.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005477/0.0465, allocations: 363.6 kB / 318.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/0.05118, allocations: 4.502 MB / 322.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.05124, allocations: 35.69 kB / 322.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/0.05147, allocations: 147.8 kB / 322.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001262/0.05273, allocations: 1.466 MB / 324.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.05646, allocations: 2.379 MB / 326.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.07447, allocations: 27.49 MB / 354.3 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1216/0.196, allocations: 1.672 MB / 356 MB, free: 79.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1971, allocations: 356.1 kB / 356.3 MB, free: 79.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005446/0.2025, allocations: 3.579 MB / 359.9 MB, free: 78.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.2025, allocations: 49.61 kB / 359.9 MB, free: 78.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 3.326e-06/0.2025, allocations: 3.469 kB / 359.9 MB, free: 78.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.009715/0.2123, allocations: 4.073 MB / 364 MB, free: 78.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005726/0.2128, allocations: 1.472 MB / 365.5 MB, free: 77.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.2148, allocations: 2.811 MB / 368.3 MB, free: 76.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.2148, allocations: 42.08 kB / 368.3 MB, free: 76.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008378/0.2157, allocations: 2.744 MB / 371.1 MB, free: 74.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.216, allocations: 0.5889 MB / 371.7 MB, free: 74.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008375/0.2168, allocations: 1.036 MB / 372.7 MB, free: 74.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.943e-05/0.2168, allocations: 307 kB / 373 MB, free: 74.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.2179, allocations: 0.7365 MB / 373.7 MB, free: 73.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.22, allocations: 4.038 MB / 377.8 MB, free: 69.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.2233, allocations: 5.361 MB / 383.1 MB, free: 63.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.919e-05/0.2234, allocations: 36 kB / 383.2 MB, free: 63.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006301/0.2297, allocations: 4.213 MB / 387.4 MB, free: 59.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.2297, allocations: 59.94 kB / 387.4 MB, free: 59.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00409/0.2338, allocations: 0.9678 MB / 388.4 MB, free: 58.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004509/0.2383, allocations: 0.5566 MB / 389 MB, free: 58.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.241, allocations: 1.264 MB / 390.2 MB, free: 57.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.2446, allocations: 3.153 MB / 393.4 MB, free: 53.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.2472, allocations: 247.7 kB / 393.6 MB, free: 53.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.2476, allocations: 298.8 kB / 393.9 MB, free: 53.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (676): * Single equations (assignments): 667 * 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.00118/0.2487, allocations: 0.5757 MB / 394.5 MB, free: 52.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.2491, allocations: 179.8 kB / 394.7 MB, free: 52.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.2494, allocations: 327.3 kB / 395 MB, free: 52.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001687/0.2511, allocations: 0.682 MB / 395.7 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.2511, allocations: 0 / 395.7 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.2512, allocations: 15.97 kB / 395.7 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/0.2572, allocations: 3.699 MB / 399.4 MB, free: 47.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2572, allocations: 4 kB / 399.4 MB, free: 47.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007256/0.2579, allocations: 201.6 kB / 399.6 MB, free: 47.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.2595, allocations: 0.499 MB / 400.1 MB, free: 46.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.2596, allocations: 31.97 kB / 400.1 MB, free: 46.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.2617, allocations: 2.864 MB / 403 MB, free: 43.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004465/0.2622, allocations: 1.345 MB / 404.3 MB, free: 42.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.2645, allocations: 1.849 MB / 406.2 MB, free: 40.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.2647, allocations: 268.8 kB / 406.4 MB, free: 40.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.2649, allocations: 35.98 kB / 406.5 MB, free: 40.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.2655, allocations: 20 kB / 406.5 MB, free: 40.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.2657, allocations: 96.39 kB / 406.6 MB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.2658, allocations: 27.98 kB / 406.6 MB, free: 39.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007199/0.2665, allocations: 1.006 MB / 407.6 MB, free: 38.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2665, allocations: 0 / 407.6 MB, free: 38.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00277/0.2693, allocations: 1.007 MB / 408.6 MB, free: 37.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * 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.0003011/0.2696, allocations: 157.6 kB / 408.8 MB, free: 37.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.2727, allocations: 2.69 MB / 411.5 MB, free: 35.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001308/0.2728, allocations: 92.16 kB / 411.6 MB, free: 34.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.274, allocations: 0.8532 MB / 412.4 MB, free: 34.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.2754, allocations: 0.5357 MB / 412.9 MB, free: 33.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/0.2814, allocations: 6.571 MB / 419.5 MB, free: 26.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.2821, allocations: 1.057 MB / 420.6 MB, free: 25.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009606/0.2831, allocations: 427.9 kB / 421 MB, free: 25.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.2838, allocations: 0.4894 MB / 421.5 MB, free: 24.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2838, allocations: 4 kB / 421.5 MB, free: 24.89 MB / 330.7 MB Notification: Performance of Templates: time 0.04267/0.3264, allocations: 34.44 MB / 455.9 MB, free: 6.738 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.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.5689530591480434]