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.001286/0.001286, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.4 MB, free: 9.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 81.05 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1443, allocations: 62.44 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.2976/0.442, allocations: 64.7 MB / 0.5315 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03031/0.4724, allocations: 12.91 MB / 0.5441 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01737/0.4898, allocations: 287 kB / 0.5444 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008526/0.4983, allocations: 3.581 MB / 0.5479 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.5059, allocations: 2.033 MB / 0.5499 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.5092, allocations: 0.9412 MB / 0.5508 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009696/0.5189, allocations: 6.434 MB / 0.5571 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007956/0.5269, allocations: 4.798 MB / 0.5618 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003766/0.5307, allocations: 1.998 MB / 0.5637 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004427/0.5352, allocations: 2.917 MB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001285/0.5365, allocations: 408 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.5397, allocations: 1.455 MB / 0.5684 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002996/0.5428, allocations: 2.459 MB / 0.5708 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00462/0.5474, allocations: 2.793 MB / 0.5735 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5578, allocations: 8.544 MB / 0.5819 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5579, allocations: 7.938 kB / 0.5819 GB, free: 14.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5579, allocations: 0 / 0.5819 GB, free: 14.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00025/0.5581, allocations: 0 / 0.5819 GB, free: 14.4 MB / 430.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.01599/0.5741, allocations: 6.18 MB / 0.5879 GB, free: 8.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.5742, allocations: 8.031 kB / 0.5879 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00215/0.5764, allocations: 0.8265 MB / 0.5887 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03865/0.615, allocations: 6.028 MB / 0.5946 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009597/0.6247, allocations: 4.055 MB / 0.5986 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002757/0.625, allocations: 279.5 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.6265, allocations: 383.6 kB / 0.5992 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.651, allocations: 11.47 MB / 0.6104 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/0.6513, allocations: 59.52 kB / 0.6105 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/0.6527, allocations: 175.9 kB / 0.6106 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003931/0.6566, allocations: 2.147 MB / 0.6127 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/0.6763, allocations: 9.352 MB / 0.6219 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06078/0.7371, allocations: 45.37 MB / 0.6662 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.7479, allocations: 3.804 MB / 0.6699 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003087/0.751, allocations: 2.034 MB / 0.6719 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/0.7637, allocations: 6.245 MB / 0.678 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.7638, allocations: 51.5 kB / 0.678 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 6.342e-06/0.7638, allocations: 4 kB / 0.678 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.0442/0.808, allocations: 14.71 MB / 0.6924 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.8082, allocations: 196.9 kB / 0.6926 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/0.8214, allocations: 5.611 MB / 0.698 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006281/0.8221, allocations: 49.7 kB / 0.6981 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003801/0.8259, allocations: 3.733 MB / 0.7017 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.8271, allocations: 0.6637 MB / 0.7024 GB, free: 200 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004129/0.8313, allocations: 1.344 MB / 0.7037 GB, free: 14.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8314, allocations: 309 kB / 0.704 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/0.8353, allocations: 2.098 MB / 0.706 GB, free: 12.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007152/0.8424, allocations: 6.349 MB / 0.7122 GB, free: 3.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2622/1.105, allocations: 9.177 MB / 0.7212 GB, free: 187.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002157/1.105, allocations: 46.62 kB / 0.7213 GB, free: 187.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01829/1.123, allocations: 8.636 MB / 0.7297 GB, free: 184.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.123, allocations: 69.19 kB / 0.7298 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/1.124, allocations: 152.7 kB / 0.7299 GB, free: 184.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/1.126, allocations: 0.708 MB / 0.7306 GB, free: 184.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/1.131, allocations: 1.512 MB / 0.7321 GB, free: 184.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007941/1.139, allocations: 6.828 MB / 0.7387 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005646/1.144, allocations: 345.4 kB / 0.7391 GB, free: 179.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007997/1.145, allocations: 418.8 kB / 0.7395 GB, free: 179.6 MB / 0.545 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.003776/1.149, allocations: 2.454 MB / 0.7419 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007373/1.15, allocations: 459.5 kB / 0.7423 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003936/1.154, allocations: 2.698 MB / 0.7449 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/1.154, allocations: 23.05 kB / 0.745 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.154, allocations: 7.75 kB / 0.745 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/1.154, allocations: 12.3 kB / 0.745 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.165, allocations: 7.455 MB / 0.7523 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.166, allocations: 2.625 kB / 0.7523 GB, free: 174.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001328/1.167, allocations: 306.6 kB / 0.7525 GB, free: 174.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/1.168, allocations: 497.8 kB / 0.753 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/1.168, allocations: 31.62 kB / 0.7531 GB, free: 174.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005698/1.174, allocations: 6.194 MB / 0.7591 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.174, allocations: 4 kB / 0.7591 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/1.18, allocations: 4.967 MB / 0.764 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.182, allocations: 0.5107 MB / 0.7645 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005416/1.182, allocations: 35.58 kB / 0.7645 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.184, allocations: 71.92 kB / 0.7646 GB, free: 164.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/1.184, allocations: 104.7 kB / 0.7647 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.832e-05/1.184, allocations: 44 kB / 0.7647 GB, free: 164.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004825/1.189, allocations: 3.601 MB / 0.7682 GB, free: 160.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.189, allocations: 0 / 0.7682 GB, free: 160.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006954/1.196, allocations: 1.091 MB / 0.7693 GB, free: 159.9 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.006068/1.202, allocations: 5.617 MB / 0.7748 GB, free: 154.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008151/1.21, allocations: 5.886 MB / 0.7805 GB, free: 148.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.21, allocations: 4.375 kB / 0.7805 GB, free: 148.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.212, allocations: 1.49 MB / 0.782 GB, free: 146.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/1.215, allocations: 0.6377 MB / 0.7826 GB, free: 146.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07823/1.293, allocations: 67.48 MB / 0.8485 GB, free: 69.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003153/1.297, allocations: 3.761 MB / 0.8522 GB, free: 65.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004384/1.301, allocations: 2.129 MB / 0.8542 GB, free: 63.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/1.303, allocations: 2.315 MB / 0.8565 GB, free: 61.11 MB / 0.545 GB Notification: Performance of SimCode: time 2.785e-06/1.303, allocations: 0 / 0.8565 GB, free: 61.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.377/1.68, allocations: 89.26 MB / 0.9437 GB, free: 173.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.68, allocations: 219.2 kB / 0.9439 GB, free: 173.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.648/6.328, allocations: 3.125 kB / 0.9439 GB, free: 173.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/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