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.001305/0.001305, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001394/0.001394, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.331/1.331, 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.1944/0.1944, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2972, 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.01324/0.3105, allocations: 12.85 MB / 0.531 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009649/0.3202, allocations: 4.512 MB / 0.5354 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.3227, allocations: 86.97 kB / 0.5355 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006882/0.3296, allocations: 3.738 MB / 0.5391 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006328/0.336, allocations: 2.321 MB / 0.5414 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.3386, allocations: 0.9879 MB / 0.5424 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009976/0.3486, allocations: 6.032 MB / 0.5483 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005936/0.3546, allocations: 4.603 MB / 0.5527 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.3582, allocations: 1.994 MB / 0.5547 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00463/0.3629, allocations: 2.652 MB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001921/0.3648, allocations: 420 kB / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/0.3695, allocations: 1.455 MB / 0.5591 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003418/0.373, allocations: 2.513 MB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005134/0.3781, allocations: 2.847 MB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3897, allocations: 9.046 MB / 0.5732 GB, free: 3.848 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3898, allocations: 0 / 0.5732 GB, free: 3.848 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3898, allocations: 0 / 0.5732 GB, free: 3.848 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002906/0.3901, allocations: 0 / 0.5732 GB, free: 3.848 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.01345/0.4035, allocations: 6.48 MB / 0.5795 GB, free: 13.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4036, allocations: 12.03 kB / 0.5795 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/0.4049, allocations: 0.8398 MB / 0.5803 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03797/0.4428, allocations: 6.121 MB / 0.5863 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0098/0.4527, allocations: 4.408 MB / 0.5906 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002908/0.453, allocations: 287.4 kB / 0.5909 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.4545, allocations: 383.7 kB / 0.5913 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.4766, allocations: 11.84 MB / 0.6028 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.4768, allocations: 59.56 kB / 0.6029 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009867/0.4778, allocations: 179.8 kB / 0.603 GB, free: 4.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003965/0.4818, allocations: 2.268 MB / 0.6053 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.5013, allocations: 9.685 MB / 0.6147 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05689/0.5582, allocations: 46.1 MB / 0.6597 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.5684, allocations: 3.796 MB / 0.6634 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002635/0.5711, allocations: 2.049 MB / 0.6654 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.5823, allocations: 6.264 MB / 0.6716 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.5823, allocations: 47.5 kB / 0.6716 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 4.448e-06/0.5824, allocations: 4 kB / 0.6716 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03952/0.6219, allocations: 15.12 MB / 0.6864 GB, free: 13.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.622, allocations: 196.9 kB / 0.6866 GB, free: 13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007219/0.6292, allocations: 5.685 MB / 0.6921 GB, free: 7.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.6295, allocations: 57.69 kB / 0.6922 GB, free: 7.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002671/0.6322, allocations: 3.967 MB / 0.6961 GB, free: 3.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007562/0.633, allocations: 0.694 MB / 0.6967 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.6346, allocations: 1.369 MB / 0.6981 GB, free: 1.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.6347, allocations: 305.1 kB / 0.6984 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/0.6375, allocations: 2.102 MB / 0.7004 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/0.6432, allocations: 6.382 MB / 0.7066 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009579/0.6528, allocations: 9.239 MB / 0.7157 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.885e-05/0.6529, allocations: 40 kB / 0.7157 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01462/0.6675, allocations: 8.715 MB / 0.7242 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.6676, allocations: 72 kB / 0.7243 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.6678, allocations: 152 kB / 0.7244 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.6696, allocations: 0.7126 MB / 0.7251 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2345/0.9041, allocations: 1.518 MB / 0.7266 GB, free: 176.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/0.9114, allocations: 6.819 MB / 0.7333 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/0.9162, allocations: 349.3 kB / 0.7336 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009162/0.9172, allocations: 418.4 kB / 0.734 GB, free: 173.1 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.003947/0.9211, allocations: 2.514 MB / 0.7365 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008363/0.922, allocations: 492.3 kB / 0.7369 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.9261, allocations: 2.703 MB / 0.7396 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/0.9261, allocations: 19.06 kB / 0.7396 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9261, allocations: 8.281 kB / 0.7396 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.9261, allocations: 8.203 kB / 0.7396 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.9378, allocations: 7.539 MB / 0.747 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.9379, allocations: 3.812 kB / 0.747 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.9392, allocations: 304 kB / 0.7473 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.9404, allocations: 490.7 kB / 0.7477 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.9406, allocations: 34.83 kB / 0.7478 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.9456, allocations: 6.191 MB / 0.7538 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.9456, allocations: 11.31 kB / 0.7538 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.9512, allocations: 4.999 MB / 0.7587 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.9526, allocations: 0.5408 MB / 0.7592 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007023/0.9533, allocations: 38.58 kB / 0.7593 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.9549, allocations: 69.02 kB / 0.7593 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.9551, allocations: 106.6 kB / 0.7594 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.9552, allocations: 43.22 kB / 0.7595 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00521/0.9604, allocations: 3.64 MB / 0.763 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9605, allocations: 0 / 0.763 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005718/0.9662, allocations: 1.126 MB / 0.7641 GB, free: 160.4 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.005691/0.9719, allocations: 5.633 MB / 0.7696 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00624/0.9782, allocations: 5.214 MB / 0.7747 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.9782, allocations: 0 / 0.7747 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.9798, allocations: 1.489 MB / 0.7762 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003912/0.9837, allocations: 0.6421 MB / 0.7768 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06157/1.045, allocations: 54.66 MB / 0.8302 GB, free: 87.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003904/1.049, allocations: 3.846 MB / 0.8339 GB, free: 83.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004037/1.053, allocations: 2.16 MB / 0.836 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.056, allocations: 2.374 MB / 0.8384 GB, free: 78.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/1.056, allocations: 0 / 0.8384 GB, free: 78.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.176, allocations: 85.88 MB / 0.9222 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.47/30.64, allocations: 18.34 kB / 0.9222 GB, free: 9.281 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