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.00114/0.00114, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001314/0.001314, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3574, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01454/0.372, allocations: 12.4 MB / 0.5426 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008973/0.381, allocations: 3.907 MB / 0.5464 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.3837, allocations: 62.31 kB / 0.5465 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007452/0.3912, allocations: 3.858 MB / 0.5503 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.3944, allocations: 0.8474 MB / 0.5511 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.397, allocations: 0.885 MB / 0.552 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003907/0.401, allocations: 2.303 MB / 0.5542 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006594/0.4076, allocations: 4.984 MB / 0.5591 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.4103, allocations: 1.473 MB / 0.5605 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003586/0.414, allocations: 1.96 MB / 0.5624 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00151/0.4155, allocations: 475.9 kB / 0.5629 GB, free: 492 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.4191, allocations: 1.175 MB / 0.564 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003378/0.4225, allocations: 1.789 MB / 0.5658 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004748/0.4273, allocations: 2.068 MB / 0.5678 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.4386, allocations: 7.166 MB / 0.5748 GB, free: 4.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4387, allocations: 0 / 0.5748 GB, free: 4.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4387, allocations: 0 / 0.5748 GB, free: 4.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002994/0.439, allocations: 0 / 0.5748 GB, free: 4.246 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01542/0.4544, allocations: 4.351 MB / 0.579 GB, free: 15.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.4545, allocations: 8.031 kB / 0.579 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002156/0.4567, allocations: 0.59 MB / 0.5796 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003844/0.4605, allocations: 0.6556 MB / 0.5803 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/0.4658, allocations: 2.239 MB / 0.5825 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003153/0.4662, allocations: 238.2 kB / 0.5827 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/0.4673, allocations: 315.8 kB / 0.583 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/0.4889, allocations: 9.434 MB / 0.5922 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.4891, allocations: 15.86 kB / 0.5922 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.4901, allocations: 139.9 kB / 0.5923 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/0.4923, allocations: 1.181 MB / 0.5935 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.5131, allocations: 8.644 MB / 0.6019 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04235/0.5555, allocations: 27.07 MB / 0.6284 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009975/0.5656, allocations: 3.109 MB / 0.6314 GB, free: 9.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/0.5679, allocations: 1.663 MB / 0.633 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.5801, allocations: 9.069 MB / 0.6419 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5802, allocations: 43.56 kB / 0.6419 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=93): time 2.585e-06/0.5802, allocations: 0 / 0.6419 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110): time 0.02512/0.6053, allocations: 7.755 MB / 0.6495 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.6054, allocations: 60.41 kB / 0.6496 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00442/0.6099, allocations: 2.607 MB / 0.6521 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.6101, allocations: 49.69 kB / 0.6522 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.6118, allocations: 2.133 MB / 0.6542 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005604/0.6124, allocations: 430.5 kB / 0.6546 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/0.6138, allocations: 0.7811 MB / 0.6554 GB, free: 76 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6139, allocations: 309.1 kB / 0.6557 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/0.6163, allocations: 1.44 MB / 0.6571 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00429/0.6206, allocations: 3.504 MB / 0.6605 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007439/0.6281, allocations: 5.192 MB / 0.6656 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.589e-05/0.6282, allocations: 20 kB / 0.6656 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.009461/0.6377, allocations: 4.921 MB / 0.6704 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/0.6378, allocations: 36.97 kB / 0.6705 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/0.6379, allocations: 72 kB / 0.6705 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.6381, allocations: 104 kB / 0.6706 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003271/0.6413, allocations: 0.8851 MB / 0.6715 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/0.6415, allocations: 147.4 kB / 0.6716 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/0.6445, allocations: 215.5 kB / 0.6718 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.645, allocations: 215.9 kB / 0.672 GB, free: 12.98 MB / 0.5294 GB 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.002992/0.648, allocations: 1.589 MB / 0.6736 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/0.6485, allocations: 221.2 kB / 0.6738 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003818/0.6524, allocations: 2.098 MB / 0.6759 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.6524, allocations: 12 kB / 0.6759 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6524, allocations: 0 / 0.6759 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6524, allocations: 7.969 kB / 0.6759 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.6631, allocations: 6.082 MB / 0.6818 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.6632, allocations: 12 kB / 0.6818 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000984/0.6642, allocations: 259.5 kB / 0.6821 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-05/0.6642, allocations: 20 kB / 0.6821 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.6643, allocations: 43.94 kB / 0.6821 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/0.6643, allocations: 23.92 kB / 0.6822 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/0.6644, allocations: 23.88 kB / 0.6822 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.6671, allocations: 2.184 MB / 0.6843 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.6677, allocations: 318.1 kB / 0.6846 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.6679, allocations: 43.92 kB / 0.6847 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008534/0.6688, allocations: 63.94 kB / 0.6847 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.669, allocations: 128.2 kB / 0.6848 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.6691, allocations: 48 kB / 0.6849 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002354/0.6714, allocations: 1.66 MB / 0.6865 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6714, allocations: 0 / 0.6865 GB, free: 13.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003053/0.6745, allocations: 0.6719 MB / 0.6872 GB, free: 12.96 MB / 0.545 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.003338/0.6778, allocations: 2.831 MB / 0.6899 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004872/0.6827, allocations: 3.08 MB / 0.6929 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.6828, allocations: 0 / 0.6929 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.6839, allocations: 0.8104 MB / 0.6937 GB, free: 6.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.6864, allocations: 379.6 kB / 0.6941 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04489/0.7313, allocations: 28.51 MB / 0.7219 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003078/0.7345, allocations: 2.663 MB / 0.7245 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00238/0.7369, allocations: 0.9423 MB / 0.7255 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/0.7388, allocations: 1.366 MB / 0.7268 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.7388, allocations: 0 / 0.7268 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3567/1.096, allocations: 52.37 MB / 0.7779 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.58, allocations: 6.562 kB / 0.7779 GB, free: 144.8 MB / 0.5762 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