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.0006897/0.0006897, allocations: 90.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007593/0.0007594, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.175/0.175, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002256, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08629, allocations: 63.56 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2051/0.2914, allocations: 49.2 MB / 0.5199 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.3065, allocations: 10.16 MB / 0.5298 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005138/0.3117, allocations: 202.5 kB / 0.53 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.3124, allocations: 322.5 kB / 0.5303 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.3139, allocations: 0.7992 MB / 0.5311 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.3153, allocations: 0.8018 MB / 0.5319 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.3181, allocations: 3.705 MB / 0.5355 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00677/0.3249, allocations: 7.174 MB / 0.5425 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000798/0.3257, allocations: 0.8687 MB / 0.5434 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.327, allocations: 1.499 MB / 0.5448 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.3272, allocations: 135.9 kB / 0.5449 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.3283, allocations: 0.9146 MB / 0.5458 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007293/0.3291, allocations: 1.397 MB / 0.5472 GB, free: 8 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.3302, allocations: 1.614 MB / 0.5488 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004646/0.3349, allocations: 6.66 MB / 0.5553 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3349, allocations: 0 / 0.5553 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3349, allocations: 0 / 0.5553 GB, free: 9.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.3349, allocations: 0 / 0.5553 GB, free: 9.047 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.006025/0.341, allocations: 3.581 MB / 0.5588 GB, free: 5.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.341, allocations: 16.81 kB / 0.5588 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000652/0.3417, allocations: 0.5841 MB / 0.5594 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002469/0.3441, allocations: 0.6654 MB / 0.56 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/0.3474, allocations: 2.217 MB / 0.5622 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.3475, allocations: 238.5 kB / 0.5624 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005293/0.3481, allocations: 314.4 kB / 0.5627 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.3643, allocations: 9.466 MB / 0.572 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6e-05/0.3644, allocations: 11.88 kB / 0.572 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/0.3647, allocations: 146.1 kB / 0.5721 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001698/0.3664, allocations: 1.182 MB / 0.5733 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.382, allocations: 8.672 MB / 0.5817 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.4091, allocations: 27.27 MB / 0.6084 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008471/0.4176, allocations: 3.101 MB / 0.6114 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.4195, allocations: 1.659 MB / 0.613 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009637/0.4291, allocations: 9.072 MB / 0.6219 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.4292, allocations: 43.56 kB / 0.6219 GB, free: 3.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 2.294e-06/0.4292, allocations: 0 / 0.6219 GB, free: 3.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02129/0.4505, allocations: 7.752 MB / 0.6295 GB, free: 11.94 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4505, allocations: 64.41 kB / 0.6295 GB, free: 11.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/0.4534, allocations: 2.599 MB / 0.6321 GB, free: 9.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.665e-05/0.4535, allocations: 45.7 kB / 0.6321 GB, free: 9.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001298/0.4548, allocations: 2.139 MB / 0.6342 GB, free: 7.047 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.4551, allocations: 434.1 kB / 0.6346 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003874/0.4555, allocations: 353.6 kB / 0.635 GB, free: 6.273 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.874e-05/0.4556, allocations: 305.1 kB / 0.6353 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.4575, allocations: 1.432 MB / 0.6367 GB, free: 4.539 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/0.4606, allocations: 3.512 MB / 0.6401 GB, free: 12 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/0.4658, allocations: 5.192 MB / 0.6452 GB, free: 9.801 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-05/0.4658, allocations: 20 kB / 0.6452 GB, free: 9.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.006355/0.4722, allocations: 4.927 MB / 0.65 GB, free: 4.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.4723, allocations: 36 kB / 0.65 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.923e-05/0.4723, allocations: 72 kB / 0.6501 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-05/0.4724, allocations: 103.9 kB / 0.6502 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/0.475, allocations: 0.8856 MB / 0.6511 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001077/0.4751, allocations: 147.4 kB / 0.6512 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.4769, allocations: 215.5 kB / 0.6514 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.4772, allocations: 211.9 kB / 0.6516 GB, free: 3.191 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.001972/0.4792, allocations: 1.593 MB / 0.6532 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.4794, allocations: 217.2 kB / 0.6534 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.4824, allocations: 2.107 MB / 0.6554 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4824, allocations: 12 kB / 0.6554 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4824, allocations: 0 / 0.6554 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.4825, allocations: 7.969 kB / 0.6554 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/0.4898, allocations: 6.074 MB / 0.6614 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.4899, allocations: 12 kB / 0.6614 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/0.4907, allocations: 259.7 kB / 0.6616 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/0.4908, allocations: 24 kB / 0.6617 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.209e-05/0.4909, allocations: 47.94 kB / 0.6617 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/0.4909, allocations: 27.86 kB / 0.6617 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.4909, allocations: 19.94 kB / 0.6617 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.4932, allocations: 2.183 MB / 0.6639 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.4935, allocations: 314.1 kB / 0.6642 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.4938, allocations: 47.92 kB / 0.6642 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.4945, allocations: 59.94 kB / 0.6643 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.4947, allocations: 128.2 kB / 0.6644 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/0.4948, allocations: 48 kB / 0.6644 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001892/0.4967, allocations: 1.664 MB / 0.6661 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4967, allocations: 0 / 0.6661 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002079/0.4988, allocations: 0.6796 MB / 0.6667 GB, free: 3.172 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.002754/0.5015, allocations: 2.814 MB / 0.6695 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.5052, allocations: 3.043 MB / 0.6725 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5053, allocations: 0 / 0.6725 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.5062, allocations: 0.8113 MB / 0.6732 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/0.5112, allocations: 357.8 kB / 0.6736 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03997/0.5511, allocations: 32.78 MB / 0.7056 GB, free: 7.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/0.5537, allocations: 2.667 MB / 0.7082 GB, free: 4.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002304/0.556, allocations: 0.9462 MB / 0.7091 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.5576, allocations: 1.37 MB / 0.7105 GB, free: 2.02 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.5576, allocations: 0 / 0.7105 GB, free: 2.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2169/0.7744, allocations: 49.18 MB / 0.7585 GB, free: 169.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001213/0.7746, allocations: 190.5 kB / 0.7587 GB, free: 169.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.226, allocations: 0 / 0.7587 GB, free: 169.6 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