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.001277/0.001277, allocations: 105.7 kB / 16.41 MB, free: 6.508 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.0012/0.0012, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.276/1.276, 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.1866/0.1866, allocations: 43.52 MB / 314.1 MB, free: 444 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.001478/0.001478, allocations: 69.47 kB / 441.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 57.78 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01501/0.1202, allocations: 13.75 MB / 0.5009 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009741/0.13, allocations: 4.603 MB / 0.5054 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.1324, allocations: 87.75 kB / 0.5054 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007069/0.1395, allocations: 3.765 MB / 0.5091 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.1457, allocations: 2.436 MB / 0.5115 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.1482, allocations: 0.9943 MB / 0.5125 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008347/0.1566, allocations: 5.906 MB / 0.5182 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006416/0.1631, allocations: 4.698 MB / 0.5228 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.1669, allocations: 2.079 MB / 0.5248 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004275/0.1713, allocations: 2.823 MB / 0.5276 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.1728, allocations: 447.9 kB / 0.528 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.1762, allocations: 1.475 MB / 0.5295 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.211/0.3872, allocations: 2.633 MB / 0.532 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005599/0.3928, allocations: 3.008 MB / 0.535 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.4059, allocations: 9.56 MB / 0.5443 GB, free: 9.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4059, allocations: 1.281 kB / 0.5443 GB, free: 9.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4059, allocations: 0 / 0.5443 GB, free: 9.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003282/0.4063, allocations: 0 / 0.5443 GB, free: 9.621 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.02106/0.4273, allocations: 6.755 MB / 0.5509 GB, free: 6.926 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4274, allocations: 15.64 kB / 0.5509 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002748/0.4302, allocations: 0.8898 MB / 0.5518 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0396/0.4698, allocations: 6.156 MB / 0.5578 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.4809, allocations: 4.818 MB / 0.5625 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.4812, allocations: 297.6 kB / 0.5628 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.483, allocations: 400.8 kB / 0.5632 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.5057, allocations: 12.49 MB / 0.5754 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/0.5059, allocations: 62.81 kB / 0.5754 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007297/0.5066, allocations: 195.1 kB / 0.5756 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00375/0.5104, allocations: 2.403 MB / 0.578 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02096/0.5314, allocations: 10.28 MB / 0.588 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06277/0.5942, allocations: 48.25 MB / 0.6351 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.6055, allocations: 4.674 MB / 0.6397 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.6086, allocations: 2.31 MB / 0.6419 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.6208, allocations: 6.925 MB / 0.6487 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.6208, allocations: 55.88 kB / 0.6488 GB, free: 2.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.188e-06/0.6209, allocations: 3.562 kB / 0.6488 GB, free: 2.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04383/0.6647, allocations: 16.48 MB / 0.6649 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.6649, allocations: 197.2 kB / 0.6651 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/0.6754, allocations: 5.872 MB / 0.6708 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004548/0.6759, allocations: 53.7 kB / 0.6708 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003407/0.6793, allocations: 4.157 MB / 0.6749 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.6805, allocations: 0.787 MB / 0.6757 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002635/0.6831, allocations: 1.448 MB / 0.6771 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.6832, allocations: 305.1 kB / 0.6774 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/0.687, allocations: 2.38 MB / 0.6797 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006685/0.6937, allocations: 6.803 MB / 0.6863 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/0.7048, allocations: 9.953 MB / 0.6961 GB, free: 14.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/0.705, allocations: 44 kB / 0.6961 GB, free: 14.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01685/0.7218, allocations: 9.447 MB / 0.7053 GB, free: 4.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.722, allocations: 75.98 kB / 0.7054 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/0.7222, allocations: 156 kB / 0.7055 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.7239, allocations: 0.7083 MB / 0.7062 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/0.7291, allocations: 1.649 MB / 0.7079 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/0.7367, allocations: 6.844 MB / 0.7145 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/0.7425, allocations: 383.4 kB / 0.7149 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.7438, allocations: 443.9 kB / 0.7153 GB, free: 10.47 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.005386/0.7492, allocations: 2.619 MB / 0.7179 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001101/0.7503, allocations: 0.4967 MB / 0.7184 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006093/0.7564, allocations: 3.245 MB / 0.7215 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.7565, allocations: 20 kB / 0.7216 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.7565, allocations: 4 kB / 0.7216 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.7565, allocations: 19.95 kB / 0.7216 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/0.7765, allocations: 8.535 MB / 0.7299 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.7766, allocations: 7.938 kB / 0.7299 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.7785, allocations: 359.3 kB / 0.7303 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.78, allocations: 493.3 kB / 0.7307 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.7803, allocations: 35.98 kB / 0.7308 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007031/0.7873, allocations: 6.2 MB / 0.7368 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.7874, allocations: 7.938 kB / 0.7368 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009263/0.7966, allocations: 5.861 MB / 0.7426 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/0.7993, allocations: 0.8216 MB / 0.7434 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/0.8007, allocations: 32 kB / 0.7434 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/0.8034, allocations: 99.88 kB / 0.7435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/0.8038, allocations: 117 kB / 0.7436 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/0.8041, allocations: 56 kB / 0.7436 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008102/0.8122, allocations: 3.755 MB / 0.7473 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8122, allocations: 0 / 0.7473 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007726/0.82, allocations: 1.214 MB / 0.7485 GB, free: 8.078 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.009694/0.8297, allocations: 6.508 MB / 0.7549 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2101/1.04, allocations: 5.824 MB / 0.7605 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.04, allocations: 0.875 kB / 0.7605 GB, free: 214.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002674/1.043, allocations: 1.751 MB / 0.7623 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/1.047, allocations: 0.6581 MB / 0.7629 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08502/1.132, 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.005975/1.138, allocations: 4.026 MB / 0.8239 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005171/1.143, allocations: 2.291 MB / 0.8261 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/1.146, allocations: 2.514 MB / 0.8286 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/1.146, allocations: 0 / 0.8286 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.273, allocations: 90.18 MB / 0.9167 GB, free: 67.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/21.22, allocations: 11.81 kB / 0.9167 GB, free: 67.85 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