Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_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.001223/0.001223, allocations: 107.6 kB / 16.41 MB, free: 6.496 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.001303/0.001303, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2025/0.2025, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.001555/0.001555, allocations: 67.91 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1032, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01432/0.1176, allocations: 13.74 MB / 0.5009 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009105/0.1267, allocations: 4.603 MB / 0.5053 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.129, allocations: 91.75 kB / 0.5054 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006961/0.136, allocations: 3.761 MB / 0.5091 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006387/0.1424, allocations: 2.44 MB / 0.5115 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.1449, allocations: 0.9943 MB / 0.5125 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008068/0.1529, allocations: 5.913 MB / 0.5182 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006062/0.159, allocations: 4.69 MB / 0.5228 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.1626, allocations: 2.079 MB / 0.5248 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.1665, allocations: 2.827 MB / 0.5276 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.1677, allocations: 444 kB / 0.528 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.1706, allocations: 1.475 MB / 0.5295 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2239/0.3945, allocations: 2.629 MB / 0.532 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006648/0.4012, allocations: 3.007 MB / 0.535 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.4161, allocations: 9.557 MB / 0.5443 GB, free: 9.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.4162, allocations: 4.375 kB / 0.5443 GB, free: 9.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4162, allocations: 3.469 kB / 0.5443 GB, free: 9.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003592/0.4166, allocations: 0 / 0.5443 GB, free: 9.691 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02646/0.443, allocations: 6.758 MB / 0.5509 GB, free: 6.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4431, allocations: 13.45 kB / 0.5509 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003541/0.4467, allocations: 0.8925 MB / 0.5518 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04012/0.4868, allocations: 6.151 MB / 0.5578 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/0.4986, allocations: 4.813 MB / 0.5625 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.4989, allocations: 295.9 kB / 0.5628 GB, free: 3.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.5009, allocations: 409.8 kB / 0.5632 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.5261, allocations: 12.49 MB / 0.5754 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/0.5264, allocations: 62.38 kB / 0.5754 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001561/0.528, allocations: 189.3 kB / 0.5756 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004253/0.5322, allocations: 2.404 MB / 0.578 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/0.5552, allocations: 10.28 MB / 0.588 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06574/0.621, allocations: 48.26 MB / 0.6351 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.6328, allocations: 4.672 MB / 0.6397 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/0.6362, allocations: 2.311 MB / 0.6419 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01273/0.6489, allocations: 6.912 MB / 0.6487 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.649, allocations: 58.22 kB / 0.6488 GB, free: 2.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 5.209e-06/0.649, allocations: 0 / 0.6488 GB, free: 2.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04728/0.6963, allocations: 16.49 MB / 0.6649 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6965, allocations: 204.3 kB / 0.6651 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/0.707, allocations: 5.872 MB / 0.6708 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003829/0.7075, allocations: 53.69 kB / 0.6708 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00333/0.7108, allocations: 4.149 MB / 0.6749 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.712, allocations: 0.7867 MB / 0.6757 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003148/0.7151, allocations: 1.452 MB / 0.6771 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7152, allocations: 305.1 kB / 0.6774 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004209/0.7195, allocations: 2.38 MB / 0.6797 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007772/0.7273, allocations: 6.807 MB / 0.6863 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/0.7392, allocations: 9.946 MB / 0.696 GB, free: 14.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/0.7394, allocations: 44.56 kB / 0.6961 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01818/0.7576, allocations: 9.451 MB / 0.7053 GB, free: 5.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.7578, allocations: 72 kB / 0.7054 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/0.758, allocations: 156 kB / 0.7055 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.7598, allocations: 0.7154 MB / 0.7062 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005294/0.7651, allocations: 1.641 MB / 0.7078 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007677/0.7728, allocations: 6.844 MB / 0.7145 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/0.7785, allocations: 395.5 kB / 0.7149 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/0.7798, allocations: 436 kB / 0.7153 GB, free: 10.51 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (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 (866): * Single equations (assignments): 859 * 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.005534/0.7854, allocations: 2.626 MB / 0.7179 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001273/0.7866, allocations: 0.5005 MB / 0.7184 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006911/0.7936, allocations: 3.234 MB / 0.7215 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-05/0.7936, allocations: 24 kB / 0.7216 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.7937, allocations: 4 kB / 0.7216 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.7937, allocations: 7.969 kB / 0.7216 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/0.8114, allocations: 8.536 MB / 0.7299 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.8114, allocations: 8.062 kB / 0.7299 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.8132, allocations: 359.4 kB / 0.7302 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.8147, allocations: 493.2 kB / 0.7307 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.8149, allocations: 47.3 kB / 0.7308 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/0.8217, allocations: 6.199 MB / 0.7368 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8217, allocations: 7.938 kB / 0.7368 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008591/0.8303, allocations: 5.86 MB / 0.7425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/0.8324, allocations: 0.8255 MB / 0.7434 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/0.8337, allocations: 32 kB / 0.7434 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/0.8361, allocations: 99.88 kB / 0.7435 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/0.8365, allocations: 117 kB / 0.7436 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.8367, allocations: 52 kB / 0.7436 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007632/0.8443, allocations: 3.759 MB / 0.7473 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8444, allocations: 0 / 0.7473 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006905/0.8513, allocations: 1.207 MB / 0.7485 GB, free: 8.117 MB / 0.5919 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 (154): * Single equations (assignments): 149 * 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.009865/0.8612, allocations: 6.512 MB / 0.7549 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2142/1.075, allocations: 5.816 MB / 0.7605 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.075, allocations: 1.156 kB / 0.7605 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.078, allocations: 1.754 MB / 0.7622 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/1.084, allocations: 0.6652 MB / 0.7629 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0874/1.171, allocations: 58.45 MB / 0.82 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006094/1.177, allocations: 4.025 MB / 0.8239 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005314/1.183, allocations: 2.291 MB / 0.8261 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003507/1.186, allocations: 2.51 MB / 0.8286 GB, free: 158 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.186, allocations: 0 / 0.8286 GB, free: 158 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.339, allocations: 90.18 MB / 0.9167 GB, free: 67.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.67/23.01, allocations: 11.88 kB / 0.9167 GB, free: 67.81 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches