Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",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.001152/0.001156, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001112/0.001112, allocations: 192 kB / 18.56 MB, free: 4.434 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.378/1.378, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.77 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1342, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01654/0.1508, allocations: 15.74 MB / 485.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009859/0.1607, allocations: 4.96 MB / 490.1 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.1634, allocations: 107.8 kB / 490.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008516/0.1719, allocations: 5.023 MB / 495.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006332/0.1783, allocations: 2.544 MB / 497.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.1809, allocations: 1.115 MB / 498.8 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009686/0.1906, allocations: 6.867 MB / 0.4939 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008859/0.1995, allocations: 5.813 MB / 0.4995 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.2041, allocations: 2.438 MB / 0.5019 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2469/0.451, allocations: 3.258 MB / 0.5051 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.4535, allocations: 0.5121 MB / 0.5056 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.4576, allocations: 1.422 MB / 0.507 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004244/0.4619, allocations: 3.052 MB / 0.51 GB, free: 18.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005915/0.4678, allocations: 3.486 MB / 0.5134 GB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.4809, allocations: 10.47 MB / 0.5236 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4809, allocations: 1.562 kB / 0.5236 GB, free: 15.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.481, allocations: 1.781 kB / 0.5236 GB, free: 15.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000416/0.4814, allocations: 0 / 0.5236 GB, free: 15.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02554/0.5069, allocations: 7.709 MB / 0.5311 GB, free: 11.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.507, allocations: 9.469 kB / 0.5311 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003486/0.5105, allocations: 1.045 MB / 0.5322 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03961/0.5501, allocations: 6.238 MB / 0.5382 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.5604, allocations: 4.849 MB / 0.543 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.5607, allocations: 364 kB / 0.5433 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.5624, allocations: 480.3 kB / 0.5438 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.5917, allocations: 14.94 MB / 0.5584 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002928/0.5921, allocations: 64.97 kB / 0.5584 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/0.5934, allocations: 230.4 kB / 0.5587 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005625/0.599, allocations: 2.866 MB / 0.5615 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/0.626, allocations: 12.56 MB / 0.5737 GB, free: 6.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07609/0.7021, allocations: 58.65 MB / 0.631 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01897/0.7211, allocations: 7.149 MB / 0.638 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005095/0.7263, allocations: 3.767 MB / 0.6417 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/0.7428, allocations: 8.776 MB / 0.6502 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/0.7429, allocations: 74.27 kB / 0.6503 GB, free: 7.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=246): time 5.38e-06/0.7429, allocations: 0 / 0.6503 GB, free: 7.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=288): time 0.08413/0.8271, allocations: 31.08 MB / 0.6806 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.8272, allocations: 243.5 kB / 0.6809 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/0.838, allocations: 6.718 MB / 0.6874 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007976/0.8388, allocations: 68.67 kB / 0.6875 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003765/0.8426, allocations: 4.524 MB / 0.6919 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001668/0.8442, allocations: 1.092 MB / 0.693 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00309/0.8474, allocations: 1.723 MB / 0.6947 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.8475, allocations: 312.2 kB / 0.695 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00543/0.8529, allocations: 3.405 MB / 0.6983 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2499/1.103, allocations: 8.424 MB / 0.7065 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/1.119, allocations: 12.82 MB / 0.719 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004122/1.119, allocations: 54.38 kB / 0.7191 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02868/1.148, allocations: 13.1 MB / 0.7319 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/1.148, allocations: 84.84 kB / 0.732 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/1.149, allocations: 178.6 kB / 0.7321 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/1.153, allocations: 1.765 MB / 0.7339 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006832/1.16, allocations: 1.975 MB / 0.7358 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.174, allocations: 12.76 MB / 0.7482 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008982/1.183, allocations: 490.3 kB / 0.7487 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/1.185, allocations: 0.5108 MB / 0.7492 GB, free: 154.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1026): * Single equations (assignments): 1019 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007113/1.192, allocations: 3.043 MB / 0.7522 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/1.193, allocations: 0.5616 MB / 0.7527 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.204, allocations: 6.489 MB / 0.7591 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.204, allocations: 28 kB / 0.7591 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/1.204, allocations: 19.83 kB / 0.7591 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/1.204, allocations: 11.3 kB / 0.7591 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/1.228, allocations: 14.54 MB / 0.7733 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.082e-05/1.228, allocations: 4 kB / 0.7733 GB, free: 133.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.23, allocations: 0.4886 MB / 0.7738 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003578/1.234, allocations: 1.516 MB / 0.7753 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004203/1.234, allocations: 63.98 kB / 0.7753 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.247, allocations: 11.94 MB / 0.787 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/1.247, allocations: 4 kB / 0.787 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.261, allocations: 10.56 MB / 0.7973 GB, free: 108.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.263, allocations: 0.6342 MB / 0.7979 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.264, allocations: 44 kB / 0.798 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002746/1.267, allocations: 193.5 kB / 0.7982 GB, free: 107.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/1.267, allocations: 177.6 kB / 0.7983 GB, free: 107.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.268, allocations: 83.98 kB / 0.7984 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006783/1.274, allocations: 4.318 MB / 0.8026 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.91e-07/1.274, allocations: 0 / 0.8026 GB, free: 103.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008435/1.283, allocations: 1.557 MB / 0.8042 GB, free: 101.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0134/1.296, allocations: 11.24 MB / 0.8151 GB, free: 90.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.31, allocations: 10.1 MB / 0.825 GB, free: 80.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.31, allocations: 0 / 0.825 GB, free: 80.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005113/1.315, allocations: 3.306 MB / 0.8282 GB, free: 77.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005865/1.321, allocations: 0.7741 MB / 0.829 GB, free: 76.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3405/1.661, allocations: 95.07 MB / 0.9218 GB, free: 188.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00745/1.669, allocations: 4.626 MB / 0.9263 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007423/1.676, allocations: 2.813 MB / 0.9291 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005653/1.682, allocations: 3 MB / 0.932 GB, free: 184.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.513e-06/1.682, allocations: 0 / 0.932 GB, free: 184.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/1.844, allocations: 123.8 MB / 1.053 GB, free: 70.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/15.29, allocations: 4 kB / 1.053 GB, free: 70.86 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches