Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameForces",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.001311/0.001311, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001446/0.001446, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2115/0.2115, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.00199, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01384/0.3189, allocations: 12.86 MB / 0.531 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.329, allocations: 4.508 MB / 0.5354 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.3312, allocations: 87.06 kB / 0.5355 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007215/0.3384, allocations: 3.738 MB / 0.5391 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006316/0.3448, allocations: 2.253 MB / 0.5413 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.3473, allocations: 1.004 MB / 0.5423 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009176/0.3564, allocations: 6.034 MB / 0.5482 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/0.3624, allocations: 4.582 MB / 0.5527 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.3659, allocations: 2.001 MB / 0.5546 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.3701, allocations: 2.652 MB / 0.5572 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.3713, allocations: 416 kB / 0.5576 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.3744, allocations: 1.451 MB / 0.559 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002656/0.3771, allocations: 2.49 MB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.3806, allocations: 2.851 MB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3914, allocations: 9.043 MB / 0.5731 GB, free: 3.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3915, allocations: 4 kB / 0.5731 GB, free: 3.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3915, allocations: 4 kB / 0.5731 GB, free: 3.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001777/0.3917, allocations: 0 / 0.5731 GB, free: 3.949 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01377/0.4054, allocations: 6.48 MB / 0.5794 GB, free: 13.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4055, allocations: 8.031 kB / 0.5794 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001304/0.4068, allocations: 0.8437 MB / 0.5802 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0411/0.4479, allocations: 6.113 MB / 0.5862 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009721/0.4577, allocations: 4.404 MB / 0.5905 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.458, allocations: 291.4 kB / 0.5908 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.4591, allocations: 391.7 kB / 0.5912 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.4807, allocations: 11.84 MB / 0.6027 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.4809, allocations: 55.58 kB / 0.6028 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005651/0.4815, allocations: 179.8 kB / 0.603 GB, free: 4.352 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004094/0.4856, allocations: 2.276 MB / 0.6052 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.5052, allocations: 9.677 MB / 0.6146 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06027/0.5655, allocations: 46.1 MB / 0.6596 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.5762, allocations: 3.8 MB / 0.6634 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.5793, allocations: 2.045 MB / 0.6654 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.5907, allocations: 6.264 MB / 0.6715 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.5908, allocations: 55.56 kB / 0.6715 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.318e-06/0.5908, allocations: 0 / 0.6715 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.04147/0.6323, allocations: 15.12 MB / 0.6863 GB, free: 13.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/0.6325, allocations: 192.9 kB / 0.6865 GB, free: 13.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009237/0.6417, allocations: 5.701 MB / 0.692 GB, free: 7.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/0.642, allocations: 49.69 kB / 0.6921 GB, free: 7.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003624/0.6457, allocations: 3.959 MB / 0.696 GB, free: 3.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009347/0.6466, allocations: 0.6979 MB / 0.6966 GB, free: 2.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001974/0.6486, allocations: 1.369 MB / 0.698 GB, free: 1.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6488, allocations: 305.1 kB / 0.6983 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003398/0.6522, allocations: 2.102 MB / 0.7003 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007257/0.6594, allocations: 6.386 MB / 0.7066 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.6715, allocations: 9.243 MB / 0.7156 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/0.6716, allocations: 44 kB / 0.7156 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01641/0.6881, allocations: 8.71 MB / 0.7241 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.6882, allocations: 72.03 kB / 0.7242 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/0.6884, allocations: 156.8 kB / 0.7243 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.6903, allocations: 0.7042 MB / 0.725 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2395/0.9299, allocations: 1.522 MB / 0.7265 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00741/0.9373, allocations: 6.826 MB / 0.7332 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004784/0.9421, allocations: 348.8 kB / 0.7335 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008667/0.943, allocations: 416.5 kB / 0.7339 GB, free: 173 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (810): * Single equations (assignments): 803 * 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 {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004016/0.9471, allocations: 2.512 MB / 0.7364 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008319/0.9479, allocations: 495 kB / 0.7368 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.9523, allocations: 2.696 MB / 0.7395 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/0.9524, allocations: 18.81 kB / 0.7395 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9524, allocations: 5.125 kB / 0.7395 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9524, allocations: 11.06 kB / 0.7395 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.965, allocations: 7.545 MB / 0.7469 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.9651, allocations: 6.484 kB / 0.7469 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.9665, allocations: 298.8 kB / 0.7472 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.9678, allocations: 490.9 kB / 0.7476 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.968, allocations: 27.66 kB / 0.7477 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005328/0.9734, allocations: 6.212 MB / 0.7537 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9734, allocations: 7.656 kB / 0.7537 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.9793, allocations: 4.988 MB / 0.7586 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.9806, allocations: 0.5438 MB / 0.7591 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006402/0.9813, allocations: 33.05 kB / 0.7592 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.9828, allocations: 76.34 kB / 0.7592 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.983, allocations: 101.8 kB / 0.7593 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.9831, allocations: 46.8 kB / 0.7594 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004769/0.9879, allocations: 3.637 MB / 0.7629 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9879, allocations: 0 / 0.7629 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005125/0.9931, allocations: 1.129 MB / 0.764 GB, free: 160.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (126): * Single equations (assignments): 121 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005775/0.9989, allocations: 5.631 MB / 0.7695 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006252/1.005, allocations: 5.21 MB / 0.7746 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.005, allocations: 0 / 0.7746 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/1.007, allocations: 1.494 MB / 0.7761 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/1.01, allocations: 0.6416 MB / 0.7767 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06122/1.071, allocations: 54.66 MB / 0.8301 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004081/1.075, allocations: 3.839 MB / 0.8338 GB, free: 83.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004269/1.08, allocations: 2.168 MB / 0.836 GB, free: 81.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/1.083, allocations: 2.37 MB / 0.8383 GB, free: 78.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.083, allocations: 224 / 0.8383 GB, free: 78.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.211, allocations: 85.88 MB / 0.9221 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.65/31.86, allocations: 28.77 kB / 0.9222 GB, free: 9.418 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_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_FrameForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches