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.001461/0.001461, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002157/0.002157, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2587, allocations: 53.37 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01175/0.2705, allocations: 9.152 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007544/0.278, allocations: 3.649 MB / 444.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.2793, allocations: 75.62 kB / 444.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.2838, allocations: 2.25 MB / 446.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.2876, allocations: 1.704 MB / 448.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.2889, allocations: 0.6239 MB / 449 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004617/0.2936, allocations: 3.485 MB / 452.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.2965, allocations: 2.436 MB / 455 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.2985, allocations: 1.374 MB / 456.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.3013, allocations: 1.947 MB / 458.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.3019, allocations: 295.9 kB / 458.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.3039, allocations: 1.038 MB / 459.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.3058, allocations: 1.729 MB / 461.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.3077, allocations: 1.433 MB / 462.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007698/0.3154, allocations: 6.233 MB / 469 MB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3154, allocations: 3.938 kB / 469 MB, free: 1.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.3154, allocations: 0 / 469 MB, free: 1.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001748/0.3155, allocations: 0 / 469 MB, free: 1.133 MB / 366.1 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.009651/0.3252, allocations: 4.238 MB / 473.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3252, allocations: 8.031 kB / 473.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006964/0.3322, allocations: 1.917 MB / 475.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.3373, allocations: 1.985 MB / 477.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.3375, allocations: 213.4 kB / 477.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009138/0.3384, allocations: 375.7 kB / 477.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.3541, allocations: 8.955 MB / 486.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/0.3542, allocations: 39.64 kB / 486.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003774/0.3546, allocations: 135.9 kB / 486.9 MB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/0.3572, allocations: 1.633 MB / 488.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.3725, allocations: 7.517 MB / 496 MB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04699/0.4195, allocations: 32.78 MB / 0.5164 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008965/0.4285, allocations: 2.934 MB / 0.5193 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.4306, allocations: 1.374 MB / 0.5206 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01058/0.4412, allocations: 5.318 MB / 0.5258 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.4412, allocations: 47.22 kB / 0.5258 GB, free: 9.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.098e-06/0.4413, allocations: 0 / 0.5258 GB, free: 9.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2353/0.6766, allocations: 11.06 MB / 0.5366 GB, free: 101.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001054/0.6776, allocations: 1.579 MB / 0.5382 GB, free: 100.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.6823, allocations: 3.384 MB / 0.5415 GB, free: 99.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003401/0.6827, allocations: 43.39 kB / 0.5415 GB, free: 99.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.684, allocations: 2.932 MB / 0.5444 GB, free: 97.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005266/0.6845, allocations: 0.5912 MB / 0.545 GB, free: 97.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.6857, allocations: 1.114 MB / 0.546 GB, free: 96.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.6857, allocations: 301.7 kB / 0.5463 GB, free: 96.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.6879, allocations: 1.926 MB / 0.5482 GB, free: 95.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003269/0.6912, allocations: 5.376 MB / 0.5535 GB, free: 90.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/0.6975, allocations: 7.855 MB / 0.5611 GB, free: 83.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.593e-05/0.6976, allocations: 36 kB / 0.5612 GB, free: 83.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01705/0.7147, allocations: 8.83 MB / 0.5698 GB, free: 75.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.7147, allocations: 60 kB / 0.5699 GB, free: 75.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009555/0.7243, allocations: 3.515 MB / 0.5733 GB, free: 71.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.7344, allocations: 2.33 MB / 0.5756 GB, free: 69.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/0.7384, allocations: 1.252 MB / 0.5768 GB, free: 68.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008585/0.7469, allocations: 7.091 MB / 0.5837 GB, free: 60.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.7522, allocations: 392.7 kB / 0.5841 GB, free: 60.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009128/0.7531, allocations: 336 kB / 0.5844 GB, free: 60.14 MB / 446.1 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.003301/0.7564, allocations: 1.856 MB / 0.5862 GB, free: 58.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007008/0.7571, allocations: 286.1 kB / 0.5865 GB, free: 58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/0.7578, allocations: 379.4 kB / 0.5869 GB, free: 57.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004117/0.762, allocations: 2.374 MB / 0.5892 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.762, allocations: 4 kB / 0.5892 GB, free: 55.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.762, allocations: 7.984 kB / 0.5892 GB, free: 55.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.7752, allocations: 6.881 MB / 0.5959 GB, free: 48.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.7752, allocations: 4 kB / 0.5959 GB, free: 48.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7763, allocations: 227.8 kB / 0.5961 GB, free: 48.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/0.7791, allocations: 1.057 MB / 0.5972 GB, free: 46.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.7793, allocations: 31.97 kB / 0.5972 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004418/0.7837, allocations: 5.006 MB / 0.6021 GB, free: 41.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007037/0.7844, allocations: 1.446 MB / 0.6035 GB, free: 40.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/0.7912, allocations: 4.965 MB / 0.6083 GB, free: 35.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009986/0.7921, allocations: 269.9 kB / 0.6086 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007226/0.7929, allocations: 24 kB / 0.6086 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.7945, allocations: 127.8 kB / 0.6087 GB, free: 34.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.7947, allocations: 99.77 kB / 0.6088 GB, free: 34.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.7948, allocations: 48.39 kB / 0.6089 GB, free: 34.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002744/0.7976, allocations: 1.932 MB / 0.6108 GB, free: 32.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7976, allocations: 0 / 0.6108 GB, free: 32.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00396/0.8015, allocations: 0.9453 MB / 0.6117 GB, free: 31.74 MB / 446.1 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.0003114/0.8018, allocations: 163.6 kB / 0.6118 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006601/0.8084, allocations: 4.906 MB / 0.6166 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8084, allocations: 0 / 0.6166 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002967/0.8114, allocations: 1.799 MB / 0.6184 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.8134, allocations: 351.1 kB / 0.6187 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.8238, allocations: 8.576 MB / 0.6271 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.8259, allocations: 2.356 MB / 0.6294 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003209/0.8291, allocations: 1.662 MB / 0.631 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004847/0.8296, allocations: 203.4 kB / 0.6312 GB, free: 11.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8296, allocations: 0 / 0.6312 GB, free: 11.62 MB / 446.1 MB Notification: Performance of Templates: time 0.06519/0.8948, allocations: 36.29 MB / 0.6667 GB, free: 7.781 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.437036321032792]