Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_4_0_0_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.001075/0.001075, allocations: 87.17 kB / 16.65 MB, free: 6.535 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.001539/0.001539, allocations: 176.8 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.0002861, allocations: 8 kB / 301.5 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 50.42 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2261/0.3352, allocations: 37.34 MB / 389.3 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02281/0.3581, allocations: 8.465 MB / 397.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.3685, allocations: 165.5 kB / 397.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.3704, allocations: 383.5 kB / 398.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006213/0.3766, allocations: 1.583 MB / 399.9 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.3783, allocations: 0.5516 MB / 400.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007309/0.3857, allocations: 4.992 MB / 405.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005766/0.3915, allocations: 4.082 MB / 409.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.3936, allocations: 1.019 MB / 410.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.3958, allocations: 1.67 MB / 412.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.3963, allocations: 120 kB / 412.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.3984, allocations: 1.041 MB / 413.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001487/0.3999, allocations: 1.503 MB / 414.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.4018, allocations: 1.76 MB / 416.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006624/0.4084, allocations: 5.817 MB / 422.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4085, allocations: 0 / 422.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.4085, allocations: 0 / 422.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001993/0.4087, allocations: 0 / 422.4 MB, free: 13.62 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.007579/0.4163, allocations: 3.482 MB / 425.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000134/0.4164, allocations: 12.03 kB / 425.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/0.4181, allocations: 0.6369 MB / 426.6 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006937/0.425, allocations: 1.887 MB / 428.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/0.4299, allocations: 2.341 MB / 430.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.4301, allocations: 213.4 kB / 431 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009962/0.4311, allocations: 367.7 kB / 431.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.4473, allocations: 8.877 MB / 440.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/0.4474, allocations: 35.69 kB / 440.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008392/0.4483, allocations: 139.9 kB / 440.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.4509, allocations: 1.641 MB / 442 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.466, allocations: 7.502 MB / 449.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04324/0.5093, allocations: 35.14 MB / 484.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008479/0.5178, allocations: 3.455 MB / 488.1 MB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.5198, allocations: 1.445 MB / 489.6 MB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.5301, allocations: 6.764 MB / 496.3 MB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.5302, allocations: 47.16 kB / 496.4 MB, free: 1.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=132): time 4.238e-06/0.5302, allocations: 0 / 496.4 MB, free: 1.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=139): time 0.02724/0.5574, allocations: 11.12 MB / 0.4956 GB, free: 6.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001258/0.5587, allocations: 1.616 MB / 0.4972 GB, free: 4.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005624/0.5644, allocations: 3.54 MB / 0.5006 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.5647, allocations: 45.98 kB / 0.5007 GB, free: 0.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.5666, allocations: 2.798 MB / 0.5034 GB, free: 13.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007602/0.5674, allocations: 0.5633 MB / 0.504 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000805/0.5682, allocations: 477.8 kB / 0.5044 GB, free: 12.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.864e-05/0.5683, allocations: 301.1 kB / 0.5047 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002926/0.5713, allocations: 1.912 MB / 0.5066 GB, free: 10.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/0.5763, allocations: 5.353 MB / 0.5118 GB, free: 3.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009013/0.5853, allocations: 7.83 MB / 0.5195 GB, free: 9.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.5855, allocations: 36 kB / 0.5195 GB, free: 9.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.02078/0.6062, allocations: 8.444 MB / 0.5277 GB, free: 1.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.6064, allocations: 56 kB / 0.5278 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1788/0.7852, allocations: 3.121 MB / 0.5308 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.7954, allocations: 1.86 MB / 0.5327 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.7995, allocations: 1.244 MB / 0.5339 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007812/0.8074, allocations: 5.685 MB / 0.5394 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/0.8117, allocations: 382.8 kB / 0.5398 GB, free: 143 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009008/0.8126, allocations: 338.7 kB / 0.5401 GB, free: 143 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 (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.003472/0.8161, allocations: 1.847 MB / 0.5419 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/0.8169, allocations: 307.7 kB / 0.5422 GB, free: 142.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/0.8227, allocations: 2.774 MB / 0.5449 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00472/0.8275, allocations: 2.36 MB / 0.5472 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.8275, allocations: 3.562 kB / 0.5472 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.8275, allocations: 12.23 kB / 0.5472 GB, free: 140.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.8407, allocations: 7.839 MB / 0.5549 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.8407, allocations: 3.938 kB / 0.5549 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009961/0.8417, allocations: 220.9 kB / 0.5551 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/0.8446, allocations: 1.054 MB / 0.5561 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.8448, allocations: 34.69 kB / 0.5562 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004537/0.8493, allocations: 4.962 MB / 0.561 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007897/0.8502, allocations: 1.483 MB / 0.5625 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006746/0.8569, allocations: 4.962 MB / 0.5673 GB, free: 128.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008703/0.8578, allocations: 366.3 kB / 0.5677 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.8581, allocations: 35.98 kB / 0.5677 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.8594, allocations: 123.8 kB / 0.5678 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.8596, allocations: 83.98 kB / 0.5679 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-05/0.8598, allocations: 48.73 kB / 0.5679 GB, free: 128 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002799/0.8626, allocations: 2.187 MB / 0.5701 GB, free: 125.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8626, allocations: 0 / 0.5701 GB, free: 125.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004515/0.8671, allocations: 0.9598 MB / 0.571 GB, free: 124.8 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.006474/0.8736, allocations: 5.612 MB / 0.5765 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007789/0.8814, allocations: 5.155 MB / 0.5815 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8814, allocations: 1.219 kB / 0.5815 GB, free: 114 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003228/0.8847, allocations: 2.015 MB / 0.5835 GB, free: 112 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.8878, allocations: 381.2 kB / 0.5839 GB, free: 111.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06841/0.9562, allocations: 48.53 MB / 0.6312 GB, free: 56.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/0.9585, allocations: 2.901 MB / 0.6341 GB, free: 53.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003484/0.962, allocations: 1.695 MB / 0.6357 GB, free: 51.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/0.9636, allocations: 1.608 MB / 0.6373 GB, free: 50 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9636, allocations: 0 / 0.6373 GB, free: 50 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08467/1.048, allocations: 64.24 MB / 0.7 GB, free: 2.18 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.049, allocations: 250.3 kB / 0.7003 GB, free: 1.918 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.575/4.624, allocations: 0 / 0.7003 GB, free: 1.918 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches