Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 103.7 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.001287/0.001287, allocations: 208.6 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.357/1.357, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2504/0.2504, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 77.94 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1184, allocations: 62.43 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.0141/0.1326, allocations: 12.65 MB / 492.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.1431, allocations: 4.493 MB / 497.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.1456, allocations: 83.75 kB / 497.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007269/0.1529, allocations: 3.703 MB / 0.4893 GB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.1587, allocations: 2.183 MB / 0.4914 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.1614, allocations: 1.002 MB / 0.4924 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009155/0.1706, allocations: 6.027 MB / 0.4983 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007279/0.1779, allocations: 4.553 MB / 0.5027 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004092/0.1821, allocations: 1.943 MB / 0.5046 GB, free: 380 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2266/0.4087, allocations: 2.607 MB / 0.5072 GB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.4106, allocations: 406.3 kB / 0.5076 GB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.4144, allocations: 1.434 MB / 0.509 GB, free: 18.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003657/0.4181, allocations: 2.428 MB / 0.5113 GB, free: 17.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006456/0.4246, allocations: 2.765 MB / 0.514 GB, free: 17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.441, allocations: 8.482 MB / 0.5223 GB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.4411, allocations: 3.562 kB / 0.5223 GB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4411, allocations: 0.5625 kB / 0.5223 GB, free: 15.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006595/0.4418, allocations: 0.5938 kB / 0.5223 GB, free: 15.27 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02175/0.4635, allocations: 6.185 MB / 0.5284 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.4636, allocations: 9.812 kB / 0.5284 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00203/0.4656, allocations: 0.8213 MB / 0.5292 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03738/0.503, allocations: 6.026 MB / 0.5351 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008833/0.5119, allocations: 4.06 MB / 0.539 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.5121, allocations: 280.2 kB / 0.5393 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/0.5132, allocations: 377.4 kB / 0.5397 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.5325, allocations: 11.47 MB / 0.5509 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.5327, allocations: 54.53 kB / 0.5509 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005269/0.5332, allocations: 181.7 kB / 0.5511 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003526/0.5368, allocations: 2.142 MB / 0.5532 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.5562, allocations: 9.358 MB / 0.5623 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06272/0.619, allocations: 45.38 MB / 0.6066 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.6298, allocations: 3.801 MB / 0.6104 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.633, allocations: 2.042 MB / 0.6123 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01333/0.6463, allocations: 6.226 MB / 0.6184 GB, free: 6.559 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.6464, allocations: 46.56 kB / 0.6185 GB, free: 6.508 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 7.043e-06/0.6465, allocations: 0 / 0.6185 GB, free: 6.508 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.04891/0.6954, allocations: 14.72 MB / 0.6328 GB, free: 7.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6955, allocations: 200.9 kB / 0.633 GB, free: 7.461 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01448/0.71, allocations: 5.611 MB / 0.6385 GB, free: 1.871 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005414/0.7106, allocations: 48.44 kB / 0.6386 GB, free: 1.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004356/0.715, allocations: 3.743 MB / 0.6422 GB, free: 14.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00143/0.7165, allocations: 0.664 MB / 0.6429 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00461/0.7211, allocations: 1.348 MB / 0.6442 GB, free: 12.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7212, allocations: 301.1 kB / 0.6445 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004128/0.7254, allocations: 2.098 MB / 0.6465 GB, free: 9.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007218/0.7326, allocations: 6.34 MB / 0.6527 GB, free: 1.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01204/0.7447, allocations: 9.19 MB / 0.6617 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/0.745, allocations: 48 kB / 0.6617 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01896/0.7639, allocations: 8.629 MB / 0.6702 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.7642, allocations: 72 kB / 0.6702 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002741/0.7645, allocations: 148 kB / 0.6704 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.7669, allocations: 0.7124 MB / 0.6711 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/0.7725, allocations: 1.509 MB / 0.6725 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008036/0.7805, allocations: 6.838 MB / 0.6792 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00557/0.7862, allocations: 347.3 kB / 0.6795 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/0.7875, allocations: 412 kB / 0.6799 GB, free: 3.676 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.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 (804): * Single equations (assignments): 797 * 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.005609/0.7931, allocations: 2.455 MB / 0.6823 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.7942, allocations: 458 kB / 0.6828 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/0.7996, allocations: 2.696 MB / 0.6854 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.7996, allocations: 20 kB / 0.6854 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7996, allocations: 4 kB / 0.6854 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.7997, allocations: 11.97 kB / 0.6854 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.8177, allocations: 7.466 MB / 0.6927 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/0.8178, allocations: 0 / 0.6927 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.8193, allocations: 303.8 kB / 0.693 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001485/0.8208, allocations: 497.2 kB / 0.6935 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002291/0.8211, allocations: 31.61 kB / 0.6935 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007132/0.8282, allocations: 6.214 MB / 0.6996 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8282, allocations: 4 kB / 0.6996 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008005/0.8363, allocations: 4.96 MB / 0.7044 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/0.8384, allocations: 0.5146 MB / 0.7049 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/0.8398, allocations: 32 kB / 0.705 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/0.8422, allocations: 71.91 kB / 0.705 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/0.8426, allocations: 100.9 kB / 0.7051 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.8427, allocations: 55.28 kB / 0.7052 GB, free: 9.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00895/0.8517, allocations: 3.601 MB / 0.7087 GB, free: 5.789 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8517, allocations: 4 kB / 0.7087 GB, free: 5.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008227/0.86, allocations: 1.094 MB / 0.7098 GB, free: 4.691 MB / 0.545 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.2602/1.12, allocations: 5.594 MB / 0.7152 GB, free: 191.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.131, allocations: 5.891 MB / 0.721 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.131, allocations: 0 / 0.721 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.134, allocations: 1.493 MB / 0.7225 GB, free: 190.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/1.138, allocations: 0.636 MB / 0.7231 GB, free: 189.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07781/1.215, allocations: 65.5 MB / 0.787 GB, free: 131.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003418/1.219, allocations: 3.764 MB / 0.7907 GB, free: 128.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004636/1.223, allocations: 2.128 MB / 0.7928 GB, free: 126.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/1.226, allocations: 2.307 MB / 0.795 GB, free: 123.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/1.226, allocations: 4 kB / 0.795 GB, free: 123.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.358, allocations: 89.45 MB / 0.8824 GB, free: 34.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.43, allocations: 0 / 0.8824 GB, free: 34.76 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches