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.001622/0.001622, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.13 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 79.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3477, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.02026/0.368, allocations: 15.41 MB / 0.5457 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.3811, allocations: 5.054 MB / 0.5506 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004111/0.3853, allocations: 107.7 kB / 0.5507 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.3956, allocations: 5 MB / 0.5556 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008525/0.4042, allocations: 2.505 MB / 0.558 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.4077, allocations: 1.232 MB / 0.5592 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01353/0.4212, allocations: 7.941 MB / 0.567 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009552/0.4308, allocations: 5.952 MB / 0.5728 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.4356, allocations: 2.496 MB / 0.5752 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005706/0.4414, allocations: 3.435 MB / 0.5786 GB, free: 352 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00173/0.4431, allocations: 0.5352 MB / 0.5791 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.4471, allocations: 1.545 MB / 0.5806 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004474/0.4516, allocations: 3.125 MB / 0.5837 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006412/0.4581, allocations: 3.55 MB / 0.5871 GB, free: 7.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.4729, allocations: 11.04 MB / 0.5979 GB, free: 12.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4729, allocations: 0 / 0.5979 GB, free: 12.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.473, allocations: 0 / 0.5979 GB, free: 12.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004123/0.4734, allocations: 0 / 0.5979 GB, free: 12.47 MB / 462.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.02257/0.496, allocations: 7.967 MB / 0.6057 GB, free: 4.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.496, allocations: 8.031 kB / 0.6057 GB, free: 4.398 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002681/0.4987, allocations: 1.012 MB / 0.6067 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05645/0.5552, allocations: 8.312 MB / 0.6148 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.5675, allocations: 5.43 MB / 0.6201 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.5679, allocations: 365.7 kB / 0.6205 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.5695, allocations: 491.7 kB / 0.6209 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02667/0.5962, allocations: 14.05 MB / 0.6347 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/0.5964, allocations: 79.39 kB / 0.6347 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006199/0.597, allocations: 231.8 kB / 0.6349 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004525/0.6016, allocations: 2.531 MB / 0.6374 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/0.6256, allocations: 11.39 MB / 0.6485 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0742/0.6999, allocations: 55.12 MB / 0.7024 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.7121, allocations: 4.496 MB / 0.7068 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/0.7163, allocations: 2.756 MB / 0.7094 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.7164, allocations: 36.95 kB / 0.7095 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.7165, allocations: 56.19 kB / 0.7095 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 4.348e-06/0.7165, allocations: 0 / 0.7095 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.3337/1.05, allocations: 20.73 MB / 0.7298 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.05, allocations: 260.4 kB / 0.73 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008834/1.059, allocations: 6.74 MB / 0.7366 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000402/1.06, allocations: 60.33 kB / 0.7367 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.062, allocations: 4.708 MB / 0.7413 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009712/1.063, allocations: 0.859 MB / 0.7421 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/1.065, allocations: 1.583 MB / 0.7436 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/1.065, allocations: 301.1 kB / 0.7439 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.068, allocations: 2.556 MB / 0.7464 GB, free: 149 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.073, allocations: 7.436 MB / 0.7537 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00884/1.082, allocations: 10.86 MB / 0.7643 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/1.082, allocations: 48 kB / 0.7643 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01659/1.099, allocations: 10.45 MB / 0.7746 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.099, allocations: 80 kB / 0.7746 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/1.099, allocations: 172 kB / 0.7748 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/1.101, allocations: 0.9892 MB / 0.7758 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/1.106, allocations: 1.828 MB / 0.7775 GB, free: 114 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008547/1.115, allocations: 10.14 MB / 0.7874 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006368/1.121, allocations: 423.5 kB / 0.7878 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.122, allocations: 476 kB / 0.7883 GB, free: 102.6 MB / 0.5606 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.004124/1.126, allocations: 2.954 MB / 0.7912 GB, free: 99.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/1.128, allocations: 0.5781 MB / 0.7917 GB, free: 99.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00549/1.133, allocations: 3.734 MB / 0.7954 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/1.133, allocations: 27.52 kB / 0.7954 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.351e-05/1.133, allocations: 8 kB / 0.7954 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/1.133, allocations: 15.89 kB / 0.7954 GB, free: 95.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.148, allocations: 9.953 MB / 0.8052 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.148, allocations: 0 / 0.8052 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.15, allocations: 395.4 kB / 0.8055 GB, free: 84.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/1.152, allocations: 0.7204 MB / 0.8062 GB, free: 84.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/1.152, allocations: 32 kB / 0.8063 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00744/1.16, allocations: 9.254 MB / 0.8153 GB, free: 74.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/1.16, allocations: 0 / 0.8153 GB, free: 74.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008135/1.168, allocations: 6.601 MB / 0.8218 GB, free: 67.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/1.17, allocations: 0.6376 MB / 0.8224 GB, free: 67.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009338/1.171, allocations: 32 kB / 0.8224 GB, free: 67.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.173, allocations: 107.9 kB / 0.8225 GB, free: 67.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/1.173, allocations: 117.2 kB / 0.8226 GB, free: 66.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.173, allocations: 55.98 kB / 0.8227 GB, free: 66.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006009/1.179, allocations: 4.303 MB / 0.8269 GB, free: 62.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.179, allocations: 4 kB / 0.8269 GB, free: 62.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007249/1.186, allocations: 1.363 MB / 0.8282 GB, free: 61.23 MB / 0.5606 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.008871/1.195, allocations: 7.257 MB / 0.8353 GB, free: 53.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009193/1.205, allocations: 6.476 MB / 0.8416 GB, free: 47.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.205, allocations: 0 / 0.8416 GB, free: 47.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002488/1.207, allocations: 2.07 MB / 0.8437 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005143/1.212, allocations: 0.8135 MB / 0.8444 GB, free: 44.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09673/1.309, allocations: 66.65 MB / 0.9095 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006906/1.316, allocations: 4.512 MB / 0.9139 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006153/1.322, allocations: 2.512 MB / 0.9164 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004485/1.327, allocations: 2.94 MB / 0.9193 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of SimCode: time 3.586e-06/1.327, allocations: 0 / 0.9193 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4342/1.761, allocations: 106.3 MB / 1.023 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.72/26.48, allocations: 6.328 kB / 1.023 GB, free: 177.8 MB / 0.6387 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