Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_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.001546/0.001546, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001753/0.001753, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2164/0.2164, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001666, allocations: 69.58 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1134, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01498/0.1284, allocations: 16.61 MB / 457.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01085/0.1393, allocations: 5.058 MB / 462.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.142, allocations: 103.8 kB / 462.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00874/0.1508, allocations: 5.062 MB / 467.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006896/0.1577, allocations: 2.661 MB / 470.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.1606, allocations: 1.115 MB / 471.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.171, allocations: 6.769 MB / 478 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008657/0.1797, allocations: 5.923 MB / 483.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.1841, allocations: 2.527 MB / 486.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00511/0.1892, allocations: 3.435 MB / 489.9 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001933/0.1912, allocations: 0.5391 MB / 490.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.195, allocations: 1.432 MB / 491.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004039/0.1991, allocations: 3.179 MB / 495 MB, free: 136 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006555/0.2057, allocations: 3.647 MB / 498.7 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.2201, allocations: 10.95 MB / 0.4977 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2202, allocations: 0 / 0.4977 GB, free: 1.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2202, allocations: 4 kB / 0.4977 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004602/0.2207, allocations: 0 / 0.4977 GB, free: 1.477 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02571/0.2464, allocations: 7.988 MB / 0.5055 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.712e-05/0.2465, allocations: 15.89 kB / 0.5055 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0047/0.2512, allocations: 1.088 MB / 0.5066 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04239/0.2936, allocations: 6.291 MB / 0.5127 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01205/0.3057, allocations: 5.254 MB / 0.5178 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004525/0.3062, allocations: 373.8 kB / 0.5182 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/0.3086, allocations: 0.4958 MB / 0.5187 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2334/0.542, allocations: 15.56 MB / 0.5339 GB, free: 77.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002818/0.5423, allocations: 67.3 kB / 0.5339 GB, free: 77.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001292/0.5436, allocations: 233.3 kB / 0.5342 GB, free: 77.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00581/0.5495, allocations: 3.011 MB / 0.5371 GB, free: 77.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03448/0.584, allocations: 13.17 MB / 0.55 GB, free: 73.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.073/0.657, allocations: 60.63 MB / 0.6092 GB, free: 16.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01754/0.6746, allocations: 7.493 MB / 0.6165 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004593/0.6792, allocations: 4.035 MB / 0.6204 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/0.6952, allocations: 9.612 MB / 0.6298 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.6953, allocations: 60.56 kB / 0.6299 GB, free: 11.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=273): time 5.881e-06/0.6953, allocations: 0 / 0.6299 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=315): time 0.08843/0.7838, allocations: 32.87 MB / 0.662 GB, free: 10.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.784, allocations: 247.9 kB / 0.6622 GB, free: 9.941 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/0.795, allocations: 6.902 MB / 0.669 GB, free: 3.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001079/0.7961, allocations: 76.41 kB / 0.669 GB, free: 2.973 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004306/0.8004, allocations: 4.684 MB / 0.6736 GB, free: 14.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002126/0.8026, allocations: 1.188 MB / 0.6748 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003823/0.8064, allocations: 1.801 MB / 0.6765 GB, free: 11.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.8065, allocations: 305.1 kB / 0.6768 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005647/0.8122, allocations: 3.687 MB / 0.6804 GB, free: 7.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/0.8232, allocations: 8.838 MB / 0.689 GB, free: 11.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/0.8408, allocations: 13.55 MB / 0.7023 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/0.841, allocations: 48 kB / 0.7023 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02979/0.8708, allocations: 13.84 MB / 0.7158 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.8711, allocations: 84 kB / 0.7159 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003115/0.8714, allocations: 180 kB / 0.7161 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00479/0.8762, allocations: 1.781 MB / 0.7178 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007654/0.8839, allocations: 2.109 MB / 0.7199 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2587/1.143, allocations: 12.73 MB / 0.7323 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008219/1.151, allocations: 0.5163 MB / 0.7328 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/1.153, allocations: 0.524 MB / 0.7333 GB, free: 165.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 (1082): * Single equations (assignments): 1075 * 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.006144/1.159, allocations: 3.157 MB / 0.7364 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.16, allocations: 0.584 MB / 0.737 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.172, allocations: 7.037 MB / 0.7439 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.589e-05/1.172, allocations: 33.72 kB / 0.7439 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.126e-05/1.172, allocations: 8.688 kB / 0.7439 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.69e-05/1.172, allocations: 12.61 kB / 0.7439 GB, free: 163.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0252/1.198, allocations: 15.53 MB / 0.7591 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.198, allocations: 12.84 kB / 0.7591 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/1.2, allocations: 0.5575 MB / 0.7596 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/1.204, allocations: 1.521 MB / 0.7611 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002908/1.204, allocations: 61.73 kB / 0.7612 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.218, allocations: 11.95 MB / 0.7729 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.218, allocations: 7.562 kB / 0.7729 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/1.233, allocations: 11.43 MB / 0.784 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003061/1.236, allocations: 1.158 MB / 0.7852 GB, free: 142.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/1.237, allocations: 56 kB / 0.7852 GB, free: 142.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.24, allocations: 207.7 kB / 0.7854 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/1.241, allocations: 194.9 kB / 0.7856 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.241, allocations: 84 kB / 0.7857 GB, free: 141.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006423/1.247, allocations: 4.446 MB / 0.79 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.433e-06/1.247, allocations: 0 / 0.79 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009186/1.256, allocations: 1.649 MB / 0.7916 GB, free: 135.7 MB / 0.5137 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 (260): * Single equations (assignments): 255 * 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.01452/1.271, allocations: 12.1 MB / 0.8034 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.287, allocations: 11.16 MB / 0.8143 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.287, allocations: 4 kB / 0.8143 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0051/1.292, allocations: 3.564 MB / 0.8178 GB, free: 108.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.297, allocations: 0.7791 MB / 0.8186 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.12/1.417, allocations: 100.4 MB / 0.9166 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008245/1.425, allocations: 4.794 MB / 0.9213 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008865/1.434, allocations: 2.957 MB / 0.9242 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0063/1.44, allocations: 3.147 MB / 0.9273 GB, free: 104 kB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.44, allocations: 0 / 0.9273 GB, free: 104 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3877/1.828, allocations: 128.2 MB / 1.052 GB, free: 82.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.39, allocations: 7.938 kB / 1.052 GB, free: 82.13 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches