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.001723/0.001723, allocations: 109.5 kB / 17.06 MB, free: 5.992 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.002077/0.002077, allocations: 196 kB / 18.01 MB, free: 5.074 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 43.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3133, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01304/0.3264, allocations: 10.73 MB / 411 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008723/0.3352, allocations: 3.931 MB / 414.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.3373, allocations: 59.81 kB / 415 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005348/0.3428, allocations: 2.593 MB / 417.6 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.3477, allocations: 1.803 MB / 419.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.3495, allocations: 0.6902 MB / 420.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005479/0.355, allocations: 3.691 MB / 423.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005008/0.3601, allocations: 3.549 MB / 427.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.3631, allocations: 1.479 MB / 428.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.3663, allocations: 1.947 MB / 430.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.3675, allocations: 316 kB / 431 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.3704, allocations: 1.174 MB / 432.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002497/0.373, allocations: 1.835 MB / 434 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003697/0.3767, allocations: 2.144 MB / 436.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009648/0.3863, allocations: 6.731 MB / 442.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3864, allocations: 0 / 442.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3864, allocations: 0 / 442.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003114/0.3867, allocations: 0 / 442.9 MB, free: 13.94 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.01282/0.3995, allocations: 4.702 MB / 447.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3996, allocations: 8.031 kB / 447.6 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002047/0.4017, allocations: 0.7275 MB / 448.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/0.4094, allocations: 1.913 MB / 450.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.4156, allocations: 2.337 MB / 452.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.416, allocations: 242.2 kB / 452.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.4176, allocations: 399.7 kB / 453.2 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02216/0.4397, allocations: 10.07 MB / 463.3 MB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.44, allocations: 39.64 kB / 463.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/0.4412, allocations: 159.9 kB / 463.5 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003255/0.4445, allocations: 1.86 MB / 465.3 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.4627, allocations: 8.331 MB / 473.7 MB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05389/0.5166, allocations: 39.28 MB / 0.5009 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.5275, allocations: 3.989 MB / 0.5048 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.5297, allocations: 1.431 MB / 0.5062 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.5424, allocations: 7.605 MB / 0.5137 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.5424, allocations: 43.56 kB / 0.5137 GB, free: 8.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.318e-06/0.5425, allocations: 0 / 0.5137 GB, free: 8.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03489/0.5774, allocations: 12.61 MB / 0.526 GB, free: 11.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001495/0.5789, allocations: 1.683 MB / 0.5277 GB, free: 9.516 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007284/0.5862, allocations: 3.829 MB / 0.5314 GB, free: 5.699 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003167/0.5866, allocations: 45.7 kB / 0.5314 GB, free: 5.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002673/0.5892, allocations: 3.246 MB / 0.5346 GB, free: 2.371 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.5903, allocations: 0.6708 MB / 0.5353 GB, free: 1.695 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002868/0.5932, allocations: 1.27 MB / 0.5365 GB, free: 424 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5933, allocations: 301.1 kB / 0.5368 GB, free: 120 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2295/0.8228, allocations: 2.003 MB / 0.5388 GB, free: 131.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/0.8282, allocations: 5.935 MB / 0.5446 GB, free: 125.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007808/0.836, allocations: 8.571 MB / 0.5529 GB, free: 117.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/0.8362, allocations: 48.59 kB / 0.553 GB, free: 117.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01454/0.8507, allocations: 8.784 MB / 0.5615 GB, free: 113.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.8508, allocations: 65.09 kB / 0.5616 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005031/0.8559, allocations: 2.793 MB / 0.5643 GB, free: 111.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004403/0.8603, allocations: 1.537 MB / 0.5658 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/0.8642, allocations: 1.366 MB / 0.5672 GB, free: 109.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.8688, allocations: 5.798 MB / 0.5728 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/0.8733, allocations: 396 kB / 0.5732 GB, free: 102.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007331/0.874, allocations: 392 kB / 0.5736 GB, free: 102.4 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.002875/0.8769, allocations: 2.009 MB / 0.5755 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000573/0.8775, allocations: 341.2 kB / 0.5759 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/0.8831, allocations: 3.127 MB / 0.5789 GB, free: 97.19 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004761/0.8879, allocations: 2.679 MB / 0.5815 GB, free: 94.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.888, allocations: 7.938 kB / 0.5816 GB, free: 94.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.888, allocations: 3.984 kB / 0.5816 GB, free: 94.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.903, allocations: 8.554 MB / 0.5899 GB, free: 85.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.903, allocations: 0 / 0.5899 GB, free: 85.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/0.9039, allocations: 191.7 kB / 0.5901 GB, free: 85.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00398/0.9079, allocations: 1.44 MB / 0.5915 GB, free: 84.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.9081, allocations: 43.97 kB / 0.5915 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004822/0.9129, allocations: 6.004 MB / 0.5974 GB, free: 77.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007162/0.9136, allocations: 1.538 MB / 0.5989 GB, free: 76.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/0.9211, allocations: 5.324 MB / 0.6041 GB, free: 71.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000991/0.9221, allocations: 394.6 kB / 0.6045 GB, free: 70.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/0.9224, allocations: 31.42 kB / 0.6045 GB, free: 70.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.9237, allocations: 123.8 kB / 0.6046 GB, free: 70.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.9239, allocations: 88.84 kB / 0.6047 GB, free: 70.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/0.924, allocations: 43.98 kB / 0.6048 GB, free: 70.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002871/0.9269, allocations: 2.345 MB / 0.607 GB, free: 68.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9269, allocations: 0 / 0.607 GB, free: 68.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004644/0.9316, allocations: 1.012 MB / 0.608 GB, free: 67.02 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.006662/0.9382, allocations: 5.802 MB / 0.6137 GB, free: 61.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008337/0.9466, allocations: 5.448 MB / 0.619 GB, free: 55.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.9466, allocations: 0 / 0.619 GB, free: 55.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003322/0.95, allocations: 2.049 MB / 0.621 GB, free: 53.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.9523, allocations: 389.4 kB / 0.6214 GB, free: 53.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05383/1.006, allocations: 45.39 MB / 0.6657 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003008/1.009, allocations: 3.108 MB / 0.6688 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003943/1.013, allocations: 1.8 MB / 0.6705 GB, free: 12.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/1.016, allocations: 1.768 MB / 0.6722 GB, free: 10.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/1.016, allocations: 0 / 0.6722 GB, free: 10.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3511/1.367, allocations: 66.09 MB / 0.7368 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/23.92, allocations: 4.5 kB / 0.7368 GB, free: 181.7 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