Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 76.66 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1187, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.0167/0.1355, allocations: 15.4 MB / 495.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.1464, allocations: 5.065 MB / 0.4889 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00309/0.1496, allocations: 103.7 kB / 0.489 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009409/0.1591, allocations: 4.992 MB / 0.4938 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.1659, allocations: 2.509 MB / 0.4963 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.1688, allocations: 1.244 MB / 0.4975 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2456/0.4144, allocations: 7.918 MB / 0.5052 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00885/0.4233, allocations: 5.964 MB / 0.5111 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.4293, allocations: 2.493 MB / 0.5135 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006595/0.4359, allocations: 3.432 MB / 0.5168 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002504/0.4385, allocations: 0.5349 MB / 0.5174 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.4436, allocations: 1.552 MB / 0.5189 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004589/0.4482, allocations: 3.126 MB / 0.5219 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00524/0.4534, allocations: 3.551 MB / 0.5254 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4641, allocations: 10.69 MB / 0.5358 GB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.4642, allocations: 0 / 0.5358 GB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4642, allocations: 4 kB / 0.5359 GB, free: 5.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004239/0.4646, allocations: 3.938 kB / 0.5359 GB, free: 5.449 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.02046/0.4851, allocations: 7.764 MB / 0.5434 GB, free: 348 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.4851, allocations: 14.64 kB / 0.5435 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002242/0.4874, allocations: 1.012 MB / 0.5444 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05585/0.5432, allocations: 8.26 MB / 0.5525 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.5571, allocations: 5.319 MB / 0.5577 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005051/0.5577, allocations: 356.3 kB / 0.558 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00277/0.5605, allocations: 494.5 kB / 0.5585 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03601/0.5965, allocations: 14.06 MB / 0.5722 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006264/0.5972, allocations: 80.77 kB / 0.5723 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/0.5996, allocations: 230.6 kB / 0.5725 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004798/0.6044, allocations: 2.541 MB / 0.575 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.028/0.6324, allocations: 11.39 MB / 0.5861 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07539/0.7079, allocations: 55.22 MB / 0.6401 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.7202, allocations: 4.504 MB / 0.6445 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/0.7242, allocations: 2.748 MB / 0.6471 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.7244, allocations: 44.47 kB / 0.6472 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.7245, allocations: 58.47 kB / 0.6472 GB, free: 6.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.58e-06/0.7245, allocations: 0 / 0.6472 GB, free: 6.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=208): time 0.06429/0.7888, allocations: 20.31 MB / 0.6671 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.7889, allocations: 263.8 kB / 0.6673 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/0.8022, allocations: 6.721 MB / 0.6739 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004616/0.8027, allocations: 60.12 kB / 0.6739 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004325/0.8071, allocations: 4.538 MB / 0.6784 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001579/0.8087, allocations: 0.826 MB / 0.6792 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004365/0.813, allocations: 1.561 MB / 0.6807 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8132, allocations: 305.1 kB / 0.681 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005127/0.8184, allocations: 2.56 MB / 0.6835 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008779/0.8272, allocations: 7.43 MB / 0.6908 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/0.8414, allocations: 10.87 MB / 0.7014 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001907/0.8417, allocations: 48 kB / 0.7014 GB, free: 10.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02206/0.8637, allocations: 10.42 MB / 0.7116 GB, free: 308 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.8639, allocations: 76 kB / 0.7117 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/0.8642, allocations: 172 kB / 0.7118 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2279/1.092, allocations: 0.996 MB / 0.7128 GB, free: 183.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006462/1.099, allocations: 1.825 MB / 0.7146 GB, free: 183.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.11, allocations: 10.14 MB / 0.7245 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008871/1.119, allocations: 412.1 kB / 0.7249 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/1.121, allocations: 480.1 kB / 0.7253 GB, free: 177.7 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (937): * Single equations (assignments): 931 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,13,100.0%), (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.005951/1.127, allocations: 2.948 MB / 0.7282 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.128, allocations: 0.5515 MB / 0.7287 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00676/1.135, allocations: 3.735 MB / 0.7324 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.557e-05/1.135, allocations: 23.83 kB / 0.7324 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.135, allocations: 9.844 kB / 0.7324 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-05/1.135, allocations: 16.73 kB / 0.7324 GB, free: 175.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/1.153, allocations: 9.992 MB / 0.7422 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.153, allocations: 0 / 0.7422 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.155, allocations: 398.3 kB / 0.7426 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/1.157, allocations: 0.7226 MB / 0.7433 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/1.158, allocations: 32.27 kB / 0.7433 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007787/1.165, allocations: 9.243 MB / 0.7523 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.165, allocations: 0 / 0.7523 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008634/1.174, allocations: 6.574 MB / 0.7588 GB, free: 162.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.176, allocations: 0.6098 MB / 0.7594 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001274/1.177, allocations: 31.69 kB / 0.7594 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.18, allocations: 112 kB / 0.7595 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003772/1.18, allocations: 116.8 kB / 0.7596 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.18, allocations: 56.66 kB / 0.7597 GB, free: 162.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006762/1.187, allocations: 4.308 MB / 0.7639 GB, free: 159.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.187, allocations: 0 / 0.7639 GB, free: 159.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008619/1.196, allocations: 1.362 MB / 0.7652 GB, free: 157.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (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.008541/1.204, allocations: 7.225 MB / 0.7723 GB, free: 151.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009743/1.214, allocations: 7.314 MB / 0.7794 GB, free: 144.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.214, allocations: 0 / 0.7794 GB, free: 144.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/1.216, allocations: 2.069 MB / 0.7814 GB, free: 142.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/1.221, allocations: 0.8189 MB / 0.7822 GB, free: 141.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1089/1.33, allocations: 84.07 MB / 0.8643 GB, free: 45.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008093/1.339, allocations: 4.505 MB / 0.8687 GB, free: 40.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006896/1.345, allocations: 2.512 MB / 0.8712 GB, free: 38.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005008/1.351, allocations: 2.944 MB / 0.874 GB, free: 35.51 MB / 0.545 GB Notification: Performance of SimCode: time 2.605e-06/1.351, allocations: 0 / 0.874 GB, free: 35.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4009/1.751, allocations: 111.6 MB / 0.983 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.58, allocations: 7.359 kB / 0.983 GB, free: 166.9 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_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_WorldForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches