Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007307/0.0007347, allocations: 92.67 kB / 17.35 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008175/0.0008176, allocations: 200 kB / 18.28 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002657, allocations: 8.375 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 63.57 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.285/0.3976, allocations: 49.2 MB / 0.5199 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02762/0.4252, allocations: 10.16 MB / 0.5298 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009508/0.4348, allocations: 207.2 kB / 0.53 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.4358, allocations: 319.8 kB / 0.5303 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.438, allocations: 0.7962 MB / 0.5311 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.44, allocations: 0.8086 MB / 0.5319 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005057/0.445, allocations: 3.694 MB / 0.5355 GB, free: 5.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008407/0.4535, allocations: 7.189 MB / 0.5425 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.4548, allocations: 0.8588 MB / 0.5434 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.4569, allocations: 1.505 MB / 0.5448 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.4572, allocations: 134.8 kB / 0.545 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.459, allocations: 0.9144 MB / 0.5459 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000999/0.46, allocations: 1.386 MB / 0.5472 GB, free: 172 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.4614, allocations: 1.62 MB / 0.5488 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006177/0.4676, allocations: 6.66 MB / 0.5553 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4676, allocations: 0 / 0.5553 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4676, allocations: 4 kB / 0.5553 GB, free: 9.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.4678, allocations: 3.938 kB / 0.5553 GB, free: 9.148 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.007647/0.4754, allocations: 3.579 MB / 0.5588 GB, free: 5.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4755, allocations: 8.875 kB / 0.5588 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007832/0.4763, allocations: 0.5831 MB / 0.5594 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.479, allocations: 0.6633 MB / 0.56 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003612/0.4827, allocations: 2.221 MB / 0.5622 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.4828, allocations: 238.9 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/0.4834, allocations: 311.9 kB / 0.5627 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.5007, allocations: 9.463 MB / 0.572 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.5008, allocations: 15.88 kB / 0.572 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.5012, allocations: 140.7 kB / 0.5721 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001826/0.503, allocations: 1.18 MB / 0.5733 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.5215, allocations: 8.686 MB / 0.5817 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/0.559, allocations: 27.26 MB / 0.6084 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009163/0.5682, allocations: 3.101 MB / 0.6114 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.5704, allocations: 1.655 MB / 0.613 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01207/0.5825, allocations: 9.079 MB / 0.6219 GB, free: 3.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.5826, allocations: 39.56 kB / 0.6219 GB, free: 3.812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.307e-06/0.5826, allocations: 0 / 0.6219 GB, free: 3.812 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02406/0.6067, allocations: 7.752 MB / 0.6295 GB, free: 12.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.6068, allocations: 64.41 kB / 0.6295 GB, free: 11.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004218/0.611, allocations: 2.607 MB / 0.6321 GB, free: 9.348 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.6111, allocations: 41.7 kB / 0.6321 GB, free: 9.301 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.6125, allocations: 2.145 MB / 0.6342 GB, free: 7.152 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.6129, allocations: 433.5 kB / 0.6346 GB, free: 6.734 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.6134, allocations: 349.6 kB / 0.635 GB, free: 6.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.6135, allocations: 309.1 kB / 0.6353 GB, free: 6.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.6157, allocations: 1.436 MB / 0.6367 GB, free: 4.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.6191, allocations: 3.504 MB / 0.6401 GB, free: 128 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006198/0.6253, allocations: 5.192 MB / 0.6452 GB, free: 9.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.547e-05/0.6254, allocations: 20 kB / 0.6452 GB, free: 9.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.007897/0.6333, allocations: 4.921 MB / 0.65 GB, free: 4.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.6334, allocations: 36 kB / 0.65 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.6335, allocations: 72 kB / 0.6501 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.596e-05/0.6336, allocations: 100 kB / 0.6502 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/0.6365, allocations: 0.8928 MB / 0.6511 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/0.6366, allocations: 139.5 kB / 0.6512 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.639, allocations: 223.8 kB / 0.6514 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003318/0.6394, allocations: 211.9 kB / 0.6516 GB, free: 3.305 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 475 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002449/0.6418, allocations: 1.589 MB / 0.6532 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.6422, allocations: 217.2 kB / 0.6534 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.6455, allocations: 2.104 MB / 0.6554 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.6456, allocations: 19.98 kB / 0.6554 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.6456, allocations: 3.984 kB / 0.6554 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6456, allocations: 3.984 kB / 0.6554 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009118/0.6547, allocations: 6.073 MB / 0.6614 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.6547, allocations: 16.95 kB / 0.6614 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009451/0.6557, allocations: 259.5 kB / 0.6616 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.202e-05/0.6557, allocations: 20 kB / 0.6617 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/0.6558, allocations: 47.94 kB / 0.6617 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-05/0.6559, allocations: 27.92 kB / 0.6617 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/0.6559, allocations: 19.88 kB / 0.6618 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/0.6584, allocations: 2.179 MB / 0.6639 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000479/0.6589, allocations: 318 kB / 0.6642 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.6592, allocations: 43.94 kB / 0.6642 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009133/0.6601, allocations: 63.94 kB / 0.6643 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6603, allocations: 120.2 kB / 0.6644 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.259e-05/0.6603, allocations: 55.98 kB / 0.6645 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00244/0.6628, allocations: 1.664 MB / 0.6661 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6628, allocations: 0 / 0.6661 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002898/0.6657, allocations: 0.6757 MB / 0.6667 GB, free: 3.289 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * 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 (136): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004115/0.6698, allocations: 2.81 MB / 0.6695 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004885/0.6747, allocations: 3.048 MB / 0.6725 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.6748, allocations: 0.875 kB / 0.6725 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6758, allocations: 0.8066 MB / 0.6732 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006033/0.6819, allocations: 360.2 kB / 0.6736 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05539/0.7373, allocations: 32.79 MB / 0.7056 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003937/0.7413, allocations: 2.663 MB / 0.7082 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002877/0.7442, allocations: 0.9501 MB / 0.7091 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/0.7462, allocations: 1.366 MB / 0.7105 GB, free: 2.129 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.7462, allocations: 0 / 0.7105 GB, free: 2.129 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2998/1.046, allocations: 49.17 MB / 0.7585 GB, free: 170.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/1.046, allocations: 184 kB / 0.7587 GB, free: 170.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.874, allocations: 0 / 0.7587 GB, free: 170.5 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches