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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 117.8 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001961, allocations: 207.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2962, allocations: 50.54 MB / 409.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01143/0.3077, allocations: 10.43 MB / 419.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007458/0.3152, allocations: 3.832 MB / 423.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.317, allocations: 63.81 kB / 423.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004235/0.3212, allocations: 2.297 MB / 425.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.3258, allocations: 1.661 MB / 427.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3276, allocations: 0.6161 MB / 428.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005333/0.3329, allocations: 3.482 MB / 431.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.3371, allocations: 3.028 MB / 434.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.3397, allocations: 1.351 MB / 436 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.3433, allocations: 1.791 MB / 437.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001254/0.3446, allocations: 288 kB / 438.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.3476, allocations: 1.127 MB / 439.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002384/0.35, allocations: 1.679 MB / 440.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003819/0.3539, allocations: 1.938 MB / 442.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009581/0.3635, allocations: 6.195 MB / 449 MB, free: 9.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.3635, allocations: 0 / 449 MB, free: 9.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3636, allocations: 3.938 kB / 449 MB, free: 9.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000284/0.3638, allocations: 0 / 449 MB, free: 9.629 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.01093/0.3748, allocations: 4.207 MB / 453.2 MB, free: 5.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3748, allocations: 8.031 kB / 453.2 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.382, allocations: 1.883 MB / 455.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/0.3875, allocations: 2.037 MB / 457.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/0.3879, allocations: 213.4 kB / 457.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.3897, allocations: 363.7 kB / 457.7 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.4064, allocations: 8.901 MB / 466.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4065, allocations: 35.66 kB / 466.7 MB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007793/0.4073, allocations: 135.9 kB / 466.8 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003155/0.4105, allocations: 1.633 MB / 468.4 MB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.4266, allocations: 7.541 MB / 476 MB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0439/0.4705, allocations: 35.01 MB / 0.499 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.479, allocations: 3.475 MB / 0.5024 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.481, allocations: 1.443 MB / 0.5038 GB, free: 4.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.4911, allocations: 6.89 MB / 0.5105 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4912, allocations: 51.16 kB / 0.5106 GB, free: 13.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.028e-06/0.4912, allocations: 0 / 0.5106 GB, free: 13.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02799/0.5192, allocations: 11.16 MB / 0.5215 GB, free: 2.164 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00158/0.5208, allocations: 1.706 MB / 0.5231 GB, free: 280 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/0.5271, allocations: 3.527 MB / 0.5266 GB, free: 12.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003631/0.5275, allocations: 45.7 kB / 0.5266 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/0.5298, allocations: 2.782 MB / 0.5294 GB, free: 9.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008579/0.5307, allocations: 0.5711 MB / 0.5299 GB, free: 9.297 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002366/0.5331, allocations: 1.111 MB / 0.531 GB, free: 8.176 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5332, allocations: 301.1 kB / 0.5313 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.5364, allocations: 1.931 MB / 0.5332 GB, free: 5.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2234/0.7598, allocations: 5.366 MB / 0.5384 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008379/0.7683, allocations: 7.846 MB / 0.5461 GB, free: 113.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.7684, allocations: 39.38 kB / 0.5461 GB, free: 113.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01744/0.7859, allocations: 8.85 MB / 0.5548 GB, free: 110.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.7859, allocations: 61.34 kB / 0.5548 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009212/0.7952, allocations: 3.529 MB / 0.5583 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009393/0.8046, allocations: 2.316 MB / 0.5605 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/0.8079, allocations: 1.267 MB / 0.5618 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007685/0.8156, allocations: 7.426 MB / 0.569 GB, free: 99.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/0.8194, allocations: 380.1 kB / 0.5694 GB, free: 98.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/0.82, allocations: 347.8 kB / 0.5697 GB, free: 98.41 MB / 462.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.002312/0.8223, allocations: 1.862 MB / 0.5715 GB, free: 96.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/0.8228, allocations: 297.2 kB / 0.5718 GB, free: 96.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006128/0.8234, allocations: 402.1 kB / 0.5722 GB, free: 96.06 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003844/0.8272, allocations: 2.39 MB / 0.5745 GB, free: 93.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.8273, allocations: 1.375 kB / 0.5745 GB, free: 93.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.8273, allocations: 7.984 kB / 0.5745 GB, free: 93.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.8397, allocations: 7.846 MB / 0.5822 GB, free: 85.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.8398, allocations: 0 / 0.5822 GB, free: 85.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009741/0.8408, allocations: 231.6 kB / 0.5824 GB, free: 85.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.8434, allocations: 1.057 MB / 0.5834 GB, free: 84.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.8436, allocations: 35.97 kB / 0.5835 GB, free: 84.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.8479, allocations: 5.282 MB / 0.5886 GB, free: 78.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007034/0.8486, allocations: 1.559 MB / 0.5902 GB, free: 77.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006444/0.8551, allocations: 5.004 MB / 0.595 GB, free: 72.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/0.8559, allocations: 357.1 kB / 0.5954 GB, free: 71.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005072/0.8564, allocations: 28 kB / 0.5954 GB, free: 71.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.8579, allocations: 135.6 kB / 0.5955 GB, free: 71.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.8582, allocations: 88.45 kB / 0.5956 GB, free: 71.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.8583, allocations: 39.98 kB / 0.5957 GB, free: 71.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002822/0.8611, allocations: 2.179 MB / 0.5978 GB, free: 69.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8611, allocations: 0 / 0.5978 GB, free: 69.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003948/0.8651, allocations: 0.9479 MB / 0.5987 GB, free: 68.54 MB / 462.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.0003751/0.8655, allocations: 172.2 kB / 0.5989 GB, free: 68.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007367/0.8728, allocations: 5.26 MB / 0.604 GB, free: 63.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.8729, allocations: 4.188 kB / 0.604 GB, free: 63.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003221/0.8761, allocations: 2.025 MB / 0.606 GB, free: 60.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.8792, allocations: 392.7 kB / 0.6064 GB, free: 60.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.8921, allocations: 8.419 MB / 0.6146 GB, free: 52.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/0.8955, allocations: 2.897 MB / 0.6174 GB, free: 49.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003368/0.8989, allocations: 1.699 MB / 0.6191 GB, free: 47.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.8995, allocations: 211.4 kB / 0.6193 GB, free: 47.29 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8995, allocations: 0 / 0.6193 GB, free: 47.29 MB / 462.1 MB Notification: Performance of Templates: time 0.05043/0.9499, allocations: 32.87 MB / 0.6514 GB, free: 14.67 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches