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.001058/0.001058, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 205.9 kB / 18.74 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.336/1.336, 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.2032/0.2032, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3393, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01316/0.3525, allocations: 12.65 MB / 0.5429 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.3616, allocations: 4.484 MB / 0.5473 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.3641, allocations: 89.19 kB / 0.5473 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00688/0.371, allocations: 3.716 MB / 0.551 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005737/0.3768, allocations: 2.234 MB / 0.5532 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.3791, allocations: 1.002 MB / 0.5541 GB, free: 9.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008274/0.3874, allocations: 6.027 MB / 0.56 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005871/0.3933, allocations: 4.564 MB / 0.5645 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/0.3969, allocations: 1.947 MB / 0.5664 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.4009, allocations: 2.613 MB / 0.5689 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.4023, allocations: 408 kB / 0.5693 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.4059, allocations: 1.436 MB / 0.5707 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003357/0.4093, allocations: 2.439 MB / 0.5731 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004327/0.4136, allocations: 2.773 MB / 0.5758 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.4244, allocations: 8.774 MB / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4244, allocations: 0 / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4244, allocations: 0 / 0.5844 GB, free: 10.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002848/0.4247, allocations: 0 / 0.5844 GB, free: 10.43 MB / 446.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.01519/0.4399, allocations: 6.339 MB / 0.5906 GB, free: 4.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.44, allocations: 12.03 kB / 0.5906 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002077/0.4421, allocations: 0.8188 MB / 0.5914 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03399/0.4761, allocations: 6.059 MB / 0.5973 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009334/0.4854, allocations: 4.143 MB / 0.6013 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.4858, allocations: 291.3 kB / 0.6016 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001357/0.4871, allocations: 371.8 kB / 0.602 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/0.5072, allocations: 11.46 MB / 0.6132 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.5074, allocations: 63.52 kB / 0.6132 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006071/0.508, allocations: 175.8 kB / 0.6134 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003243/0.5112, allocations: 2.151 MB / 0.6155 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.5292, allocations: 9.36 MB / 0.6246 GB, free: 176 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04972/0.579, allocations: 45.27 MB / 0.6688 GB, free: 1.637 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009171/0.5882, allocations: 3.8 MB / 0.6726 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002546/0.5908, allocations: 2.037 MB / 0.6745 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009513/0.6003, allocations: 6.255 MB / 0.6807 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.6004, allocations: 43.56 kB / 0.6807 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 3.576e-06/0.6004, allocations: 4 kB / 0.6807 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03736/0.6377, allocations: 15 MB / 0.6953 GB, free: 6.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.6379, allocations: 192.9 kB / 0.6955 GB, free: 5.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/0.6456, allocations: 5.631 MB / 0.701 GB, free: 308 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.6459, allocations: 45.7 kB / 0.7011 GB, free: 256 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002619/0.6486, allocations: 3.877 MB / 0.7049 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/0.6494, allocations: 0.694 MB / 0.7055 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/0.6511, allocations: 1.357 MB / 0.7069 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.6512, allocations: 305.1 kB / 0.7071 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.654, allocations: 2.094 MB / 0.7092 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2602/0.9142, allocations: 6.341 MB / 0.7154 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009086/0.9233, allocations: 9.188 MB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001388/0.9235, allocations: 42.59 kB / 0.7244 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.0144/0.9379, allocations: 8.657 MB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.578e-05/0.938, allocations: 72.44 kB / 0.7329 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/0.9382, allocations: 150.4 kB / 0.7331 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.9397, allocations: 0.7019 MB / 0.7338 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004062/0.9438, allocations: 1.516 MB / 0.7352 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/0.9499, allocations: 6.83 MB / 0.7419 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/0.9547, allocations: 348.5 kB / 0.7422 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008864/0.9556, allocations: 417.6 kB / 0.7426 GB, free: 142.5 MB / 0.5606 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.003549/0.9592, allocations: 2.46 MB / 0.745 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008944/0.9601, allocations: 489.7 kB / 0.7455 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.9639, allocations: 2.683 MB / 0.7481 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-05/0.964, allocations: 24 kB / 0.7481 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.964, allocations: 4 kB / 0.7481 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.964, allocations: 6.75 kB / 0.7482 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.9742, allocations: 7.449 MB / 0.7554 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.9742, allocations: 4 kB / 0.7554 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.9755, allocations: 295.5 kB / 0.7557 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.9766, allocations: 492.3 kB / 0.7562 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.9768, allocations: 28 kB / 0.7562 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004966/0.9817, allocations: 6.206 MB / 0.7623 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.9818, allocations: 4 kB / 0.7623 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005651/0.9874, allocations: 4.984 MB / 0.7671 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.9886, allocations: 0.5457 MB / 0.7677 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005227/0.9891, allocations: 31.59 kB / 0.7677 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.9904, allocations: 71.91 kB / 0.7678 GB, free: 119.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.9907, allocations: 104.8 kB / 0.7679 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.9908, allocations: 47.98 kB / 0.7679 GB, free: 119 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00438/0.9952, allocations: 3.601 MB / 0.7714 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.01e-07/0.9952, allocations: 0 / 0.7714 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00504/1, allocations: 1.087 MB / 0.7725 GB, free: 114.3 MB / 0.5606 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.005522/1.006, allocations: 5.637 MB / 0.778 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006425/1.012, allocations: 5.187 MB / 0.7831 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.012, allocations: 0 / 0.7831 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.014, allocations: 1.482 MB / 0.7845 GB, free: 102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.017, allocations: 0.638 MB / 0.7851 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06062/1.078, allocations: 54.03 MB / 0.8379 GB, free: 40.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003127/1.081, allocations: 3.768 MB / 0.8416 GB, free: 36.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003889/1.085, allocations: 2.133 MB / 0.8437 GB, free: 34.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/1.087, allocations: 2.307 MB / 0.8459 GB, free: 32.35 MB / 0.5606 GB Notification: Performance of SimCode: time 1.002e-06/1.087, allocations: 4 kB / 0.8459 GB, free: 32.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.131/1.218, allocations: 84.87 MB / 0.9288 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.26/30.47, allocations: 10.17 kB / 0.9288 GB, free: 11.89 MB / 0.6231 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