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.001478/0.001478, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.34 kB / 306.9 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.107, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01172/0.1188, allocations: 10.42 MB / 367.9 MB, free: 3.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1865/0.3054, allocations: 3.84 MB / 371.7 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.307, allocations: 65 kB / 371.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.3111, allocations: 2.297 MB / 374.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.3148, allocations: 1.656 MB / 375.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3159, allocations: 0.6125 MB / 376.4 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004218/0.3202, allocations: 3.488 MB / 379.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/0.3237, allocations: 3.019 MB / 382.9 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.3262, allocations: 1.364 MB / 384.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.3285, allocations: 1.787 MB / 386 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.3292, allocations: 295.5 kB / 386.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.3316, allocations: 1.129 MB / 387.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.3331, allocations: 1.659 MB / 389.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.3347, allocations: 1.94 MB / 391 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005321/0.3401, allocations: 5.975 MB / 397 MB, free: 44 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3401, allocations: 0 / 397 MB, free: 44 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3401, allocations: 0 / 397 MB, free: 44 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001495/0.3403, allocations: 3.312 kB / 397 MB, free: 44 kB / 302.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.009129/0.3494, allocations: 4.197 MB / 401.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3495, allocations: 11.97 kB / 401.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007008/0.3565, allocations: 1.89 MB / 403.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004748/0.3613, allocations: 1.981 MB / 405.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.3615, allocations: 217.4 kB / 405.3 MB, free: 8.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/0.3625, allocations: 376.5 kB / 405.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.3779, allocations: 8.886 MB / 414.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.694e-05/0.3781, allocations: 43.58 kB / 414.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000382/0.3784, allocations: 138.6 kB / 414.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002427/0.3809, allocations: 1.64 MB / 416.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.3949, allocations: 7.527 MB / 423.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04138/0.4363, allocations: 35.16 MB / 459.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008824/0.4452, allocations: 3.49 MB / 462.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.4472, allocations: 1.445 MB / 464 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009623/0.4568, allocations: 6.883 MB / 470.9 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.4569, allocations: 51.2 kB / 470.9 MB, free: 5.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.847e-06/0.4569, allocations: 0 / 470.9 MB, free: 5.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02798/0.4849, allocations: 11.16 MB / 482.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001344/0.4863, allocations: 1.714 MB / 483.8 MB, free: 8.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/0.491, allocations: 3.519 MB / 487.3 MB, free: 4.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002611/0.4913, allocations: 44.36 kB / 487.4 MB, free: 4.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.4931, allocations: 2.796 MB / 490.2 MB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007066/0.4938, allocations: 0.5713 MB / 490.7 MB, free: 1.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.4952, allocations: 1.104 MB / 491.8 MB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4954, allocations: 305.1 kB / 492.1 MB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/0.4983, allocations: 1.927 MB / 494.1 MB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/0.5038, allocations: 5.373 MB / 499.4 MB, free: 6.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.5139, allocations: 7.847 MB / 0.4954 GB, free: 13.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/0.5141, allocations: 39.94 kB / 0.4954 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02263/0.5367, allocations: 8.844 MB / 0.5041 GB, free: 4.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.5369, allocations: 59.94 kB / 0.5041 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01148/0.5484, allocations: 3.522 MB / 0.5076 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/0.5593, allocations: 2.332 MB / 0.5098 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.5633, allocations: 1.255 MB / 0.5111 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.5738, allocations: 7.443 MB / 0.5183 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/0.5788, allocations: 383.8 kB / 0.5187 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/0.5802, allocations: 344 kB / 0.519 GB, free: 4.754 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.004131/0.5843, allocations: 1.86 MB / 0.5209 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/0.5851, allocations: 296.2 kB / 0.5211 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.5862, allocations: 406.1 kB / 0.5215 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1779/0.7641, allocations: 2.377 MB / 0.5238 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.7641, allocations: 3.469 kB / 0.5238 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/0.7642, allocations: 6.594 kB / 0.5239 GB, free: 140.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.7786, allocations: 7.861 MB / 0.5315 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.7786, allocations: 2.219 kB / 0.5315 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.7797, allocations: 229.6 kB / 0.5317 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/0.7832, allocations: 1.058 MB / 0.5328 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.7834, allocations: 34.44 kB / 0.5328 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.7884, allocations: 5.279 MB / 0.538 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008227/0.7892, allocations: 1.566 MB / 0.5395 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/0.7969, allocations: 4.993 MB / 0.5444 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00084/0.7978, allocations: 354.9 kB / 0.5447 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.7981, allocations: 34.27 kB / 0.5447 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.7994, allocations: 123.7 kB / 0.5449 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.7997, allocations: 92.11 kB / 0.545 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.7998, allocations: 44.22 kB / 0.545 GB, free: 131.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003079/0.8029, allocations: 2.177 MB / 0.5471 GB, free: 130.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.8029, allocations: 3.938 kB / 0.5471 GB, free: 130.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004104/0.807, allocations: 0.9529 MB / 0.5481 GB, free: 130.7 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.0004074/0.8074, allocations: 171.9 kB / 0.5482 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008325/0.8158, allocations: 5.723 MB / 0.5538 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.8158, allocations: 0 / 0.5538 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.8192, allocations: 2.03 MB / 0.5558 GB, free: 127.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.8215, allocations: 401.5 kB / 0.5562 GB, free: 127.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/0.8335, allocations: 8.511 MB / 0.5645 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.8358, allocations: 2.897 MB / 0.5673 GB, free: 119 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003545/0.8394, allocations: 1.699 MB / 0.569 GB, free: 117.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.8399, allocations: 211.4 kB / 0.5692 GB, free: 117.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8399, allocations: 0 / 0.5692 GB, free: 117.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05347/0.8934, allocations: 35.83 MB / 0.6042 GB, free: 81.48 MB / 446.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