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.001116/0.001116, allocations: 108.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 213.7 kB / 18.14 MB, free: 5.344 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.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 83.06 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1351, allocations: 62.44 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3581/0.4933, allocations: 50.54 MB / 0.5175 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02635/0.5197, allocations: 10.22 MB / 0.5275 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01412/0.5338, allocations: 204.5 kB / 0.5277 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008356/0.5422, allocations: 3.89 MB / 0.5315 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003017/0.5454, allocations: 0.7942 MB / 0.5323 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.5477, allocations: 0.802 MB / 0.533 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.5518, allocations: 3.696 MB / 0.5366 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.5568, allocations: 4.835 MB / 0.5414 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.5584, allocations: 1.253 MB / 0.5426 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.5603, allocations: 1.994 MB / 0.5445 GB, free: 88 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.5608, allocations: 299.7 kB / 0.5448 GB, free: 88 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5627, allocations: 1.073 MB / 0.5459 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.564, allocations: 1.634 MB / 0.5475 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.5659, allocations: 1.887 MB / 0.5493 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006242/0.5721, allocations: 6.92 MB / 0.5561 GB, free: 6.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5721, allocations: 0 / 0.5561 GB, free: 6.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5722, allocations: 0 / 0.5561 GB, free: 6.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001533/0.5723, allocations: 0 / 0.5561 GB, free: 6.094 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.009811/0.5821, allocations: 4.339 MB / 0.5603 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5822, allocations: 8.875 kB / 0.5603 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008264/0.583, allocations: 0.5897 MB / 0.5609 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.5866, allocations: 0.6555 MB / 0.5615 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/0.5915, allocations: 2.213 MB / 0.5637 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.5918, allocations: 243.6 kB / 0.5639 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009603/0.5928, allocations: 313.9 kB / 0.5642 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.613, allocations: 9.427 MB / 0.5734 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/0.6131, allocations: 11.88 kB / 0.5734 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.6136, allocations: 140.7 kB / 0.5736 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.6155, allocations: 1.186 MB / 0.5747 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.6346, allocations: 8.653 MB / 0.5832 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/0.6745, allocations: 27.24 MB / 0.6098 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009714/0.6843, allocations: 3.117 MB / 0.6128 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.6867, allocations: 1.663 MB / 0.6144 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/0.6997, allocations: 9.058 MB / 0.6233 GB, free: 176 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.6998, allocations: 43.56 kB / 0.6233 GB, free: 124 kB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 5.029e-06/0.6998, allocations: 3.984 kB / 0.6233 GB, free: 120 kB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02622/0.726, allocations: 7.752 MB / 0.6309 GB, free: 8.359 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.7262, allocations: 68.34 kB / 0.631 GB, free: 8.281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006105/0.7323, allocations: 2.615 MB / 0.6335 GB, free: 5.641 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.7325, allocations: 45.7 kB / 0.6336 GB, free: 5.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001821/0.7344, allocations: 2.136 MB / 0.6357 GB, free: 3.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/0.7351, allocations: 430.3 kB / 0.6361 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/0.7368, allocations: 0.7757 MB / 0.6368 GB, free: 2.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.7369, allocations: 305.1 kB / 0.6371 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/0.7396, allocations: 1.444 MB / 0.6385 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/0.744, allocations: 3.496 MB / 0.6419 GB, free: 12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/0.7506, allocations: 5.196 MB / 0.647 GB, free: 5.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.959e-05/0.7507, allocations: 24 kB / 0.647 GB, free: 5.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.00809/0.7588, allocations: 4.917 MB / 0.6518 GB, free: 0.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.492e-05/0.7589, allocations: 36 kB / 0.6519 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/0.759, allocations: 72 kB / 0.6519 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/0.7591, allocations: 96 kB / 0.652 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.7621, allocations: 0.8859 MB / 0.6529 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.7623, allocations: 151.3 kB / 0.653 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.7648, allocations: 219.5 kB / 0.6533 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/0.7651, allocations: 216 kB / 0.6535 GB, free: 15.17 MB / 0.4981 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.002441/0.7675, allocations: 1.589 MB / 0.655 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/0.768, allocations: 217.2 kB / 0.6552 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.7714, allocations: 2.102 MB / 0.6573 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.7714, allocations: 12 kB / 0.6573 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7714, allocations: 0 / 0.6573 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.7715, allocations: 11.95 kB / 0.6573 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.7818, allocations: 6.078 MB / 0.6632 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-05/0.7819, allocations: 12 kB / 0.6632 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.7829, allocations: 263.5 kB / 0.6635 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.439e-05/0.7829, allocations: 16 kB / 0.6635 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.42e-05/0.783, allocations: 40 kB / 0.6635 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/0.7831, allocations: 27.88 kB / 0.6636 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-05/0.7831, allocations: 27.86 kB / 0.6636 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.786, allocations: 2.179 MB / 0.6657 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/0.7867, allocations: 310.2 kB / 0.666 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/0.7871, allocations: 39.98 kB / 0.6661 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.7883, allocations: 71.88 kB / 0.6661 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.7885, allocations: 128.2 kB / 0.6662 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.7886, allocations: 52 kB / 0.6663 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002934/0.7915, allocations: 1.66 MB / 0.6679 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7915, allocations: 4 kB / 0.6679 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003492/0.795, allocations: 0.668 MB / 0.6686 GB, free: 15.17 MB / 0.5137 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.003989/0.799, allocations: 2.834 MB / 0.6713 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005217/0.8043, allocations: 3.048 MB / 0.6743 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.8043, allocations: 0 / 0.6743 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.8055, allocations: 0.8143 MB / 0.6751 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.808, allocations: 345 kB / 0.6754 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05777/0.8657, allocations: 32.74 MB / 0.7074 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004345/0.8701, allocations: 2.663 MB / 0.71 GB, free: 368 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2243/1.094, allocations: 0.944 MB / 0.7109 GB, free: 200.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00227/1.097, allocations: 1.365 MB / 0.7123 GB, free: 200.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.097, allocations: 0 / 0.7123 GB, free: 200.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09031/1.187, allocations: 49.84 MB / 0.7609 GB, free: 168.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/1.187, allocations: 196.6 kB / 0.7611 GB, free: 168.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.532, allocations: 0 / 0.7611 GB, free: 168.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