Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 112.9 kB / 17.05 MB, free: 6.086 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.001235/0.001235, allocations: 185.4 kB / 17.99 MB, free: 5.184 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.46/1.46, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 43.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2907, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01409/0.3048, allocations: 10.74 MB / 411 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009214/0.3141, allocations: 3.931 MB / 414.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.3162, allocations: 59.88 kB / 415 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005705/0.322, allocations: 2.589 MB / 417.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005632/0.3277, allocations: 1.754 MB / 419.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3296, allocations: 0.6863 MB / 420 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00655/0.3362, allocations: 3.695 MB / 423.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/0.3415, allocations: 3.549 MB / 427.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.3444, allocations: 1.48 MB / 428.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/0.3479, allocations: 1.954 MB / 430.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.349, allocations: 312 kB / 431 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/0.352, allocations: 1.166 MB / 432.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002496/0.3545, allocations: 1.819 MB / 434 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00354/0.3581, allocations: 2.144 MB / 436.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00994/0.3681, allocations: 6.727 MB / 442.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3681, allocations: 0 / 442.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3681, allocations: 0 / 442.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002611/0.3684, allocations: 4 kB / 442.8 MB, free: 14.04 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01198/0.3804, allocations: 4.706 MB / 447.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3804, allocations: 8.031 kB / 447.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001846/0.3823, allocations: 0.7236 MB / 448.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007676/0.39, allocations: 1.913 MB / 450.2 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.3953, allocations: 2.333 MB / 452.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.3956, allocations: 250.2 kB / 452.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.3968, allocations: 395.7 kB / 453.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.4186, allocations: 10.08 MB / 463.2 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.4188, allocations: 39.64 kB / 463.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006649/0.4195, allocations: 155.9 kB / 463.4 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00317/0.4226, allocations: 1.857 MB / 465.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/0.4414, allocations: 8.328 MB / 473.6 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05601/0.4974, allocations: 39.29 MB / 0.5009 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.5085, allocations: 3.993 MB / 0.5048 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/0.511, allocations: 1.427 MB / 0.5062 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.5232, allocations: 7.609 MB / 0.5136 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/0.5233, allocations: 43.56 kB / 0.5136 GB, free: 8.266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.77e-06/0.5233, allocations: 0 / 0.5136 GB, free: 8.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03402/0.5573, allocations: 12.6 MB / 0.5259 GB, free: 11.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00164/0.559, allocations: 1.695 MB / 0.5276 GB, free: 9.613 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/0.5653, allocations: 3.829 MB / 0.5313 GB, free: 5.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.5657, allocations: 49.69 kB / 0.5314 GB, free: 5.742 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002961/0.5686, allocations: 3.242 MB / 0.5345 GB, free: 2.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.5698, allocations: 0.6708 MB / 0.5352 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002289/0.5721, allocations: 1.266 MB / 0.5364 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5722, allocations: 301.1 kB / 0.5367 GB, free: 224 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2249/0.7972, allocations: 2.007 MB / 0.5387 GB, free: 131.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005511/0.8027, allocations: 5.941 MB / 0.5445 GB, free: 125.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0079/0.8107, allocations: 8.566 MB / 0.5528 GB, free: 117.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.8108, allocations: 45.12 kB / 0.5529 GB, free: 117.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01674/0.8276, allocations: 8.786 MB / 0.5615 GB, free: 114 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.8278, allocations: 64 kB / 0.5615 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005622/0.8334, allocations: 2.799 MB / 0.5643 GB, free: 111.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004726/0.8382, allocations: 1.529 MB / 0.5658 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.8423, allocations: 1.365 MB / 0.5671 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/0.8473, allocations: 5.804 MB / 0.5728 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004837/0.8522, allocations: 392.6 kB / 0.5731 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008799/0.8531, allocations: 388 kB / 0.5735 GB, free: 102.5 MB / 462.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.003143/0.8562, allocations: 2.011 MB / 0.5755 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000609/0.8569, allocations: 343.2 kB / 0.5758 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005936/0.8628, allocations: 3.127 MB / 0.5789 GB, free: 97.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004858/0.8677, allocations: 2.687 MB / 0.5815 GB, free: 94.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.8677, allocations: 3.938 kB / 0.5815 GB, free: 94.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.8678, allocations: 11.97 kB / 0.5815 GB, free: 94.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.8816, allocations: 8.55 MB / 0.5898 GB, free: 85.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8816, allocations: 0 / 0.5898 GB, free: 85.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/0.8825, allocations: 191.7 kB / 0.59 GB, free: 85.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004122/0.8867, allocations: 1.44 MB / 0.5914 GB, free: 84.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.8869, allocations: 39.98 kB / 0.5915 GB, free: 84.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00504/0.892, allocations: 6.004 MB / 0.5973 GB, free: 78.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007392/0.8927, allocations: 1.542 MB / 0.5988 GB, free: 76.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007746/0.9005, allocations: 5.327 MB / 0.604 GB, free: 71.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.9016, allocations: 382.8 kB / 0.6044 GB, free: 70.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/0.9022, allocations: 35.98 kB / 0.6044 GB, free: 70.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.9037, allocations: 119.8 kB / 0.6046 GB, free: 70.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.904, allocations: 96.84 kB / 0.6046 GB, free: 70.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.9041, allocations: 43.97 kB / 0.6047 GB, free: 70.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003433/0.9075, allocations: 2.345 MB / 0.607 GB, free: 68.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.9076, allocations: 0 / 0.607 GB, free: 68.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005126/0.9127, allocations: 1.015 MB / 0.608 GB, free: 67.09 MB / 462.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.007343/0.9201, allocations: 5.793 MB / 0.6136 GB, free: 61.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008628/0.9287, allocations: 5.439 MB / 0.6189 GB, free: 55.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/0.9288, allocations: 0 / 0.6189 GB, free: 55.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003616/0.9324, allocations: 2.05 MB / 0.6209 GB, free: 53.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.9352, allocations: 390.4 kB / 0.6213 GB, free: 53.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0614/0.9966, allocations: 45.41 MB / 0.6657 GB, free: 1.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/1, allocations: 3.108 MB / 0.6687 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004481/1.005, allocations: 1.803 MB / 0.6704 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/1.008, allocations: 1.761 MB / 0.6722 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/1.008, allocations: 0 / 0.6722 GB, free: 10.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3816/1.39, allocations: 66.07 MB / 0.7367 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.35/23.74, allocations: 4.344 kB / 0.7367 GB, free: 181.6 MB / 0.5137 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches