Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 101.5 kB / 17.72 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09252, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2027/0.2953, allocations: 10.45 MB / 385.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006867/0.3022, allocations: 3.825 MB / 388.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.3038, allocations: 60.72 kB / 389 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.3079, allocations: 2.315 MB / 391.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.3123, allocations: 1.682 MB / 393 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3138, allocations: 0.6073 MB / 393.6 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004999/0.3188, allocations: 3.462 MB / 397.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.3223, allocations: 3.038 MB / 400.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.3247, allocations: 1.363 MB / 401.5 MB, free: 176 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.3271, allocations: 1.805 MB / 403.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005868/0.3277, allocations: 290.6 kB / 403.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.3301, allocations: 1.146 MB / 404.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001686/0.3318, allocations: 1.698 MB / 406.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.3336, allocations: 1.978 MB / 408.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00676/0.3404, allocations: 6.252 MB / 414.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3404, allocations: 1.312 kB / 414.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3404, allocations: 0 / 414.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001858/0.3406, allocations: 0 / 414.6 MB, free: 7.824 MB / 334.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.008117/0.3487, allocations: 4.254 MB / 418.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3488, allocations: 12.03 kB / 418.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008184/0.3496, allocations: 0.6369 MB / 419.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/0.3559, allocations: 1.852 MB / 421.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.361, allocations: 2.538 MB / 423.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.3612, allocations: 209.4 kB / 424.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008055/0.362, allocations: 375.6 kB / 424.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0145/0.3765, allocations: 8.866 MB / 433.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.3766, allocations: 35.75 kB / 433.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005154/0.3772, allocations: 131.9 kB / 433.5 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.3797, allocations: 1.649 MB / 435.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.3942, allocations: 7.49 MB / 442.7 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04577/0.44, allocations: 35.01 MB / 477.7 MB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008471/0.4485, allocations: 3.448 MB / 481.1 MB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.4505, allocations: 1.447 MB / 482.6 MB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.4613, allocations: 6.773 MB / 489.3 MB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4614, allocations: 55.16 kB / 489.4 MB, free: 10.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.188e-06/0.4614, allocations: 0 / 489.4 MB, free: 10.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02683/0.4882, allocations: 11.17 MB / 0.4888 GB, free: 15.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00133/0.4896, allocations: 1.706 MB / 0.4905 GB, free: 13.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006191/0.4958, allocations: 3.568 MB / 0.494 GB, free: 9.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.4961, allocations: 45.7 kB / 0.494 GB, free: 9.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.4982, allocations: 2.786 MB / 0.4967 GB, free: 7.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007228/0.4989, allocations: 0.5672 MB / 0.4973 GB, free: 6.496 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/0.501, allocations: 1.103 MB / 0.4984 GB, free: 5.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.5011, allocations: 309.1 kB / 0.4987 GB, free: 5.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.5041, allocations: 1.916 MB / 0.5005 GB, free: 3.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005224/0.5093, allocations: 5.349 MB / 0.5058 GB, free: 12.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008453/0.5178, allocations: 7.838 MB / 0.5134 GB, free: 2.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-05/0.5179, allocations: 36 kB / 0.5134 GB, free: 2.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01945/0.5374, allocations: 8.438 MB / 0.5217 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.5375, allocations: 60 kB / 0.5217 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009902/0.5475, allocations: 3.12 MB / 0.5248 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009343/0.5568, allocations: 1.86 MB / 0.5266 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004162/0.561, allocations: 1.248 MB / 0.5278 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008388/0.5694, allocations: 6.05 MB / 0.5337 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004432/0.5739, allocations: 379.3 kB / 0.5341 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009868/0.5749, allocations: 336 kB / 0.5344 GB, free: 12.67 MB / 478.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 (672): * Single equations (assignments): 663 * 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.003883/0.5788, allocations: 1.861 MB / 0.5362 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007299/0.5795, allocations: 304.1 kB / 0.5365 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005843/0.5854, allocations: 2.766 MB / 0.5392 GB, free: 7.703 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004579/0.59, allocations: 2.359 MB / 0.5415 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.59, allocations: 3.938 kB / 0.5415 GB, free: 5.316 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.5901, allocations: 11.92 kB / 0.5415 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2035/0.7936, allocations: 7.837 MB / 0.5492 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.7936, allocations: 0.9375 kB / 0.5492 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.7948, allocations: 232.4 kB / 0.5494 GB, free: 147.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003148/0.7979, allocations: 1.05 MB / 0.5504 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/0.7981, allocations: 39.39 kB / 0.5505 GB, free: 147.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005415/0.8035, allocations: 5.282 MB / 0.5556 GB, free: 144.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008643/0.8044, allocations: 1.565 MB / 0.5572 GB, free: 142.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007858/0.8123, allocations: 4.952 MB / 0.562 GB, free: 141.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.8133, allocations: 363.7 kB / 0.5624 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/0.8137, allocations: 38.14 kB / 0.5624 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.815, allocations: 123.4 kB / 0.5625 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.8153, allocations: 84.12 kB / 0.5626 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.8155, allocations: 43.16 kB / 0.5626 GB, free: 140.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003465/0.8189, allocations: 2.212 MB / 0.5648 GB, free: 140.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.819, allocations: 5.344 kB / 0.5648 GB, free: 140.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004099/0.8231, allocations: 0.9482 MB / 0.5657 GB, free: 140.1 MB / 478.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.007048/0.8301, allocations: 5.614 MB / 0.5712 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007196/0.8373, allocations: 5.192 MB / 0.5763 GB, free: 135.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8374, allocations: 2.906 kB / 0.5763 GB, free: 135.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003051/0.8404, allocations: 2.019 MB / 0.5782 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.8426, allocations: 403.1 kB / 0.5786 GB, free: 134.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05058/0.8931, allocations: 42.5 MB / 0.6201 GB, free: 92.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/0.8954, allocations: 2.909 MB / 0.623 GB, free: 89.44 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00307/0.8985, allocations: 1.712 MB / 0.6246 GB, free: 87.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.9, allocations: 1.608 MB / 0.6262 GB, free: 86.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.9, allocations: 4 kB / 0.6262 GB, free: 86.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.112/2.012, allocations: 64.07 MB / 0.6888 GB, free: 21.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.21/26.22, allocations: 12.62 kB / 0.6888 GB, free: 21.95 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches