Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.0009383/0.0009383, allocations: 84.34 kB / 22.22 MB, free: 2.281 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.0009443/0.0009443, allocations: 164 kB / 25.61 MB, free: 8.855 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 0.9207/0.9207, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.025e-05, allocations: 6.453 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007899/0.007919, allocations: 9.848 MB / 284 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.013, allocations: 3.73 MB / 287.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008412/0.01384, allocations: 75.62 kB / 287.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01634, allocations: 2.433 MB / 290.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002367/0.01871, allocations: 1.769 MB / 292 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007906/0.0195, allocations: 0.6743 MB / 292.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002636/0.02213, allocations: 3.882 MB / 296.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.02406, allocations: 2.782 MB / 299.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.02573, allocations: 2.093 MB / 301.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.02757, allocations: 1.991 MB / 303.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004029/0.02798, allocations: 296 kB / 303.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.02912, allocations: 1.077 MB / 304.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.03015, allocations: 1.819 MB / 306.6 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.03106, allocations: 1.129 MB / 307.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.03402, allocations: 4.04 MB / 311.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.03402, allocations: 0 / 311.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03402, allocations: 0 / 311.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.399e-05/0.03411, allocations: 0 / 311.8 MB, free: 14.47 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.004393/0.0385, allocations: 4.45 MB / 316.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.03853, allocations: 12.03 kB / 316.2 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/0.04149, allocations: 1.391 MB / 317.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.04315, allocations: 1.71 MB / 319.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.04325, allocations: 213.6 kB / 319.5 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/0.04373, allocations: 363.6 kB / 319.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/0.04885, allocations: 5.019 MB / 324.9 MB, free: 352 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.448e-05/0.04893, allocations: 43.62 kB / 324.9 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002707/0.0492, allocations: 147.8 kB / 325.1 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.05051, allocations: 1.47 MB / 326.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.0543, allocations: 2.415 MB / 329 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/0.1922, allocations: 38.27 MB / 367.2 MB, free: 48.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.1958, allocations: 1.766 MB / 369 MB, free: 48.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.1963, allocations: 447.2 kB / 369.4 MB, free: 48.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003686/0.2, allocations: 3.954 MB / 373.4 MB, free: 47.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2, allocations: 56.7 kB / 373.5 MB, free: 47.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.695e-06/0.2, allocations: 0.75 kB / 373.5 MB, free: 47.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.009614/0.2096, allocations: 4.783 MB / 378.2 MB, free: 46.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005488/0.2102, allocations: 2.01 MB / 380.2 MB, free: 44.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.2123, allocations: 3.136 MB / 383.4 MB, free: 44.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.2123, allocations: 49.44 kB / 383.4 MB, free: 44.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009844/0.2133, allocations: 3.073 MB / 386.5 MB, free: 42.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.2136, allocations: 0.6119 MB / 387.1 MB, free: 42.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008578/0.2145, allocations: 1.22 MB / 388.3 MB, free: 41.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.2145, allocations: 476.8 kB / 388.8 MB, free: 41.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007917/0.2153, allocations: 0.578 MB / 389.4 MB, free: 41.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.2173, allocations: 5.713 MB / 395.1 MB, free: 33.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.2208, allocations: 6.947 MB / 402 MB, free: 24.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-05/0.2209, allocations: 36 kB / 402.1 MB, free: 24.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.006625/0.2275, allocations: 4.899 MB / 407 MB, free: 19.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.2275, allocations: 56 kB / 407 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003415/0.2309, allocations: 1.094 MB / 408.1 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/0.2344, allocations: 0.5683 MB / 408.7 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.2361, allocations: 1.205 MB / 409.9 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.2388, allocations: 4.264 MB / 414.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.2407, allocations: 247.7 kB / 414.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.2409, allocations: 304.9 kB / 414.7 MB, free: 11.43 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.0007014/0.2416, allocations: 0.6147 MB / 415.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.2419, allocations: 322 kB / 415.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.2421, allocations: 329.3 kB / 416 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00133/0.2435, allocations: 0.8128 MB / 416.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2435, allocations: 4 kB / 416.8 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2435, allocations: 11.91 kB / 416.8 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.2484, allocations: 4.376 MB / 421.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2484, allocations: 7.219 kB / 421.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.2489, allocations: 183.8 kB / 421.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.2499, allocations: 366 kB / 421.7 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.25, allocations: 35.97 kB / 421.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/0.2516, allocations: 3.979 MB / 425.7 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006553/0.2522, allocations: 1.87 MB / 427.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.2547, allocations: 2.16 MB / 429.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.2549, allocations: 273.9 kB / 430 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.2551, allocations: 31.98 kB / 430 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.2557, allocations: 24 kB / 430.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.2558, allocations: 92.34 kB / 430.2 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.2559, allocations: 35.98 kB / 430.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009495/0.2568, allocations: 1.248 MB / 431.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2568, allocations: 0 / 431.4 MB, free: 10.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003404/0.2602, allocations: 0.996 MB / 432.4 MB, free: 9.141 MB / 346.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.0002895/0.2605, allocations: 172.4 kB / 432.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00326/0.2638, allocations: 2.998 MB / 435.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2638, allocations: 0 / 435.6 MB, free: 5.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.2651, allocations: 1.038 MB / 436.6 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.2662, allocations: 371.8 kB / 437 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006773/0.273, allocations: 6.838 MB / 443.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008837/0.2739, allocations: 1.056 MB / 444.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008893/0.2748, allocations: 433.2 kB / 445.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/0.2755, allocations: 0.5332 MB / 445.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2755, allocations: 0 / 445.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.0437/0.3192, allocations: 35.3 MB / 481.2 MB, free: 8.629 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.912826588843018]