Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 59.95 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1097, allocations: 50.52 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.011/0.1207, allocations: 10.7 MB / 368.3 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1724/0.2931, allocations: 3.95 MB / 372.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.2948, allocations: 61.78 kB / 372.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004601/0.2994, allocations: 2.57 MB / 374.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.3038, allocations: 1.722 MB / 376.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3052, allocations: 0.6865 MB / 377.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.3107, allocations: 3.723 MB / 381 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003966/0.3147, allocations: 3.558 MB / 384.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.3171, allocations: 1.47 MB / 386 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.3197, allocations: 1.942 MB / 388 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007851/0.3205, allocations: 314.7 kB / 388.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.3226, allocations: 1.151 MB / 389.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.324, allocations: 1.792 MB / 391.2 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.3257, allocations: 2.131 MB / 393.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.3311, allocations: 6.408 MB / 399.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3311, allocations: 8 kB / 399.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.3312, allocations: 1.25 kB / 399.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.3313, allocations: 3.938 kB / 399.8 MB, free: 14.34 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.00799/0.3393, allocations: 4.542 MB / 404.3 MB, free: 9.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3393, allocations: 12.03 kB / 404.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009036/0.3403, allocations: 0.7243 MB / 405 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007052/0.3473, allocations: 1.941 MB / 407 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/0.3514, allocations: 2.187 MB / 409.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.3516, allocations: 252.1 kB / 409.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008261/0.3524, allocations: 386.3 kB / 409.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/0.3691, allocations: 10.11 MB / 419.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.133e-05/0.3692, allocations: 39.62 kB / 419.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/0.3696, allocations: 156.4 kB / 420.1 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/0.3724, allocations: 1.86 MB / 422 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.3889, allocations: 8.374 MB / 430.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04376/0.4327, allocations: 39.35 MB / 469.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/0.4435, allocations: 4.038 MB / 473.7 MB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.4456, allocations: 1.424 MB / 475.1 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.4574, allocations: 7.685 MB / 482.8 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.4575, allocations: 43.56 kB / 482.9 MB, free: 9.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 4.559e-06/0.4575, allocations: 0 / 482.9 MB, free: 9.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.03295/0.4905, allocations: 12.51 MB / 495.4 MB, free: 12.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001251/0.4918, allocations: 1.68 MB / 497.1 MB, free: 10.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005402/0.4972, allocations: 3.812 MB / 0.4891 GB, free: 7.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002195/0.4974, allocations: 52.3 kB / 0.4892 GB, free: 6.949 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.4994, allocations: 3.108 MB / 0.4922 GB, free: 3.844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/0.5001, allocations: 0.6464 MB / 0.4928 GB, free: 3.203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/0.5018, allocations: 1.256 MB / 0.4941 GB, free: 1.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.5019, allocations: 301.1 kB / 0.4944 GB, free: 1.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/0.5051, allocations: 2.023 MB / 0.4963 GB, free: 15.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005467/0.5105, allocations: 5.953 MB / 0.5021 GB, free: 7.691 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009014/0.5196, allocations: 8.591 MB / 0.5105 GB, free: 13.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-05/0.5197, allocations: 40 kB / 0.5106 GB, free: 13.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01644/0.5361, allocations: 8.819 MB / 0.5192 GB, free: 4.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.5363, allocations: 64 kB / 0.5193 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006462/0.5427, allocations: 2.851 MB / 0.522 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1605/0.7032, allocations: 1.557 MB / 0.5236 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/0.7076, allocations: 1.375 MB / 0.5249 GB, free: 136.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.7196, allocations: 9.645 MB / 0.5343 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/0.7246, allocations: 402.1 kB / 0.5347 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008922/0.7255, allocations: 386.4 kB / 0.5351 GB, free: 131.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.003378/0.7289, allocations: 2.019 MB / 0.537 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005568/0.7294, allocations: 326.2 kB / 0.5374 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007278/0.7302, allocations: 431.3 kB / 0.5378 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006044/0.7362, allocations: 2.744 MB / 0.5404 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.7363, allocations: 3.047 kB / 0.5404 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.7363, allocations: 7.734 kB / 0.5405 GB, free: 130 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01376/0.7501, allocations: 8.616 MB / 0.5489 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.7501, allocations: 0 / 0.5489 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/0.7509, allocations: 188.4 kB / 0.549 GB, free: 127 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004286/0.7552, allocations: 1.466 MB / 0.5505 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.7554, allocations: 38.47 kB / 0.5505 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/0.7656, allocations: 9.81 MB / 0.5601 GB, free: 120.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006932/0.7663, allocations: 1.557 MB / 0.5616 GB, free: 119.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/0.7741, allocations: 5.375 MB / 0.5669 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007141/0.7748, allocations: 371.4 kB / 0.5672 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.7752, allocations: 27.67 kB / 0.5672 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.7764, allocations: 133.3 kB / 0.5674 GB, free: 116.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003112/0.7767, allocations: 108.9 kB / 0.5675 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.7769, allocations: 46.84 kB / 0.5675 GB, free: 116.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002708/0.7796, allocations: 2.337 MB / 0.5698 GB, free: 114.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7796, allocations: 2 kB / 0.5698 GB, free: 114.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00446/0.784, allocations: 1.05 MB / 0.5708 GB, free: 113.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007774/0.7918, allocations: 6.027 MB / 0.5767 GB, free: 107.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008405/0.8003, allocations: 6.204 MB / 0.5828 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8003, allocations: 4 kB / 0.5828 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/0.8038, allocations: 2.325 MB / 0.585 GB, free: 98.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8057, allocations: 392 kB / 0.5854 GB, free: 98.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05412/0.8598, allocations: 50.39 MB / 0.6346 GB, free: 39.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/0.8625, allocations: 3.137 MB / 0.6377 GB, free: 36.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003791/0.8663, allocations: 1.8 MB / 0.6395 GB, free: 34.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.8681, allocations: 1.765 MB / 0.6412 GB, free: 33.06 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.8681, allocations: 0 / 0.6412 GB, free: 33.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2906/1.159, allocations: 73.22 MB / 0.7127 GB, free: 143 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.84, allocations: 7.062 kB / 0.7127 GB, free: 143 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches