Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 77.75 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 62.43 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0178/0.1326, allocations: 15.52 MB / 495.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.1441, allocations: 4.933 MB / 0.4888 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.1476, allocations: 103.8 kB / 0.4889 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009169/0.1568, allocations: 4.996 MB / 0.4938 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006177/0.1631, allocations: 2.466 MB / 0.4962 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.1656, allocations: 1.104 MB / 0.4973 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008805/0.1745, allocations: 6.886 MB / 0.504 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2422/0.4167, allocations: 5.774 MB / 0.5097 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.421, allocations: 2.402 MB / 0.512 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.4262, allocations: 3.221 MB / 0.5152 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002011/0.4282, allocations: 0.5028 MB / 0.5156 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.4319, allocations: 1.389 MB / 0.517 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005069/0.437, allocations: 2.981 MB / 0.5199 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006848/0.4439, allocations: 3.407 MB / 0.5232 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.4566, allocations: 10.2 MB / 0.5332 GB, free: 6.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4567, allocations: 0 / 0.5332 GB, free: 6.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4567, allocations: 0 / 0.5332 GB, free: 6.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000313/0.457, allocations: 2.844 kB / 0.5332 GB, free: 6.547 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01793/0.4749, allocations: 7.588 MB / 0.5406 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.475, allocations: 6.844 kB / 0.5406 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002542/0.4775, allocations: 1.028 MB / 0.5416 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03939/0.517, allocations: 6.188 MB / 0.5477 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/0.5288, allocations: 4.593 MB / 0.5522 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.5291, allocations: 355 kB / 0.5525 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.5313, allocations: 477.1 kB / 0.5529 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0301/0.5614, allocations: 14.55 MB / 0.5672 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002423/0.5617, allocations: 59.28 kB / 0.5672 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009779/0.5627, allocations: 228.8 kB / 0.5674 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004985/0.5677, allocations: 2.749 MB / 0.5701 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/0.593, allocations: 12.24 MB / 0.5821 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07304/0.6661, allocations: 57.81 MB / 0.6385 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01826/0.6844, allocations: 7.153 MB / 0.6455 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005347/0.6898, allocations: 3.768 MB / 0.6492 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/0.7058, allocations: 8.759 MB / 0.6577 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.913e-05/0.7059, allocations: 67.31 kB / 0.6578 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 7.474e-06/0.7059, allocations: 4 kB / 0.6578 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.08228/0.7882, allocations: 30.94 MB / 0.688 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.7884, allocations: 233.8 kB / 0.6882 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/0.8017, allocations: 6.664 MB / 0.6948 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006529/0.8024, allocations: 65.7 kB / 0.6948 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003618/0.806, allocations: 4.431 MB / 0.6991 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/0.8079, allocations: 1.091 MB / 0.7002 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004862/0.8128, allocations: 1.712 MB / 0.7019 GB, free: 13.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8129, allocations: 305.1 kB / 0.7022 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005661/0.8186, allocations: 3.397 MB / 0.7055 GB, free: 10.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2365/1.055, allocations: 8.373 MB / 0.7137 GB, free: 183.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01362/1.069, allocations: 12.77 MB / 0.7261 GB, free: 174.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/1.069, allocations: 54.84 kB / 0.7262 GB, free: 174.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02462/1.094, allocations: 13.05 MB / 0.7389 GB, free: 170.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.094, allocations: 81.89 kB / 0.739 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.094, allocations: 174.6 kB / 0.7392 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004898/1.099, allocations: 1.77 MB / 0.7409 GB, free: 169.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006811/1.106, allocations: 1.959 MB / 0.7428 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/1.119, allocations: 12.75 MB / 0.7553 GB, free: 163 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/1.126, allocations: 492.2 kB / 0.7557 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.127, allocations: 0.4993 MB / 0.7562 GB, free: 162.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.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 (1020): * Single equations (assignments): 1013 * 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.004928/1.132, allocations: 2.991 MB / 0.7592 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.133, allocations: 0.5595 MB / 0.7597 GB, free: 161 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009611/1.143, allocations: 6.483 MB / 0.766 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/1.143, allocations: 32 kB / 0.7661 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.143, allocations: 8 kB / 0.7661 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.143, allocations: 20.58 kB / 0.7661 GB, free: 155.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/1.166, allocations: 14.42 MB / 0.7802 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/1.166, allocations: 4.469 kB / 0.7802 GB, free: 143.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.168, allocations: 0.4909 MB / 0.7807 GB, free: 142.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/1.172, allocations: 1.527 MB / 0.7822 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005707/1.173, allocations: 57.16 kB / 0.7822 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.185, allocations: 11.94 MB / 0.7939 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.185, allocations: 4 kB / 0.7939 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.199, allocations: 10.56 MB / 0.8042 GB, free: 118.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/1.201, allocations: 0.6225 MB / 0.8048 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.203, allocations: 56 kB / 0.8048 GB, free: 117.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002615/1.205, allocations: 187.7 kB / 0.805 GB, free: 117.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005411/1.206, allocations: 181.6 kB / 0.8052 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.206, allocations: 77.94 kB / 0.8053 GB, free: 117.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005835/1.212, allocations: 4.278 MB / 0.8094 GB, free: 112.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.61e-07/1.212, allocations: 0 / 0.8094 GB, free: 112.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007311/1.219, allocations: 1.522 MB / 0.8109 GB, free: 111.4 MB / 0.545 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.01444/1.234, allocations: 11.25 MB / 0.8219 GB, free: 99.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.248, allocations: 10.07 MB / 0.8318 GB, free: 89.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.248, allocations: 4 kB / 0.8318 GB, free: 89.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004673/1.253, allocations: 3.309 MB / 0.835 GB, free: 86.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/1.257, allocations: 0.7472 MB / 0.8357 GB, free: 85.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3308/1.588, allocations: 94.19 MB / 0.9277 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/1.598, allocations: 4.534 MB / 0.9321 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008077/1.606, allocations: 2.791 MB / 0.9349 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004179/1.61, allocations: 2.944 MB / 0.9377 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.61, allocations: 0 / 0.9377 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1712/1.782, allocations: 122.7 MB / 1.058 GB, free: 90.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.98, allocations: 4 kB / 1.058 GB, free: 90.73 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches