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.001731/0.001731, allocations: 118.2 kB / 17.79 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002017, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 83.86 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3688, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01679/0.3856, allocations: 12.4 MB / 0.5427 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3963, allocations: 3.909 MB / 0.5466 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.3994, allocations: 63.31 kB / 0.5466 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00843/0.4079, allocations: 3.863 MB / 0.5504 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003551/0.4115, allocations: 0.8396 MB / 0.5512 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.4146, allocations: 0.8921 MB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004964/0.4196, allocations: 2.303 MB / 0.5543 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008224/0.4279, allocations: 4.987 MB / 0.5592 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.4317, allocations: 1.461 MB / 0.5606 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004259/0.436, allocations: 1.963 MB / 0.5625 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.4379, allocations: 475.9 kB / 0.563 GB, free: 392 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/0.4418, allocations: 1.175 MB / 0.5641 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003331/0.4452, allocations: 1.797 MB / 0.5659 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005108/0.4504, allocations: 2.064 MB / 0.5679 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.463, allocations: 7.178 MB / 0.5749 GB, free: 4.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.463, allocations: 3.938 kB / 0.5749 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4631, allocations: 0 / 0.5749 GB, free: 4.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003146/0.4634, allocations: 0 / 0.5749 GB, free: 4.125 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.01564/0.479, allocations: 4.458 MB / 0.5793 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.043e-05/0.4791, allocations: 12.03 kB / 0.5793 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002027/0.4812, allocations: 0.5822 MB / 0.5799 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.485, allocations: 0.6735 MB / 0.5805 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/0.4906, allocations: 2.259 MB / 0.5827 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.4909, allocations: 234.2 kB / 0.5829 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.4921, allocations: 315.9 kB / 0.5832 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.517, allocations: 9.43 MB / 0.5925 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.46e-05/0.5171, allocations: 11.88 kB / 0.5925 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007523/0.5179, allocations: 147.9 kB / 0.5926 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002406/0.5203, allocations: 1.181 MB / 0.5938 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.5436, allocations: 8.644 MB / 0.6022 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05225/0.5959, allocations: 27.13 MB / 0.6287 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.6069, allocations: 3.12 MB / 0.6317 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.6099, allocations: 1.655 MB / 0.6334 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/0.6266, allocations: 9.082 MB / 0.6422 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.6267, allocations: 39.56 kB / 0.6423 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=93): time 4.218e-06/0.6267, allocations: 0 / 0.6423 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110): time 0.02968/0.6564, allocations: 7.803 MB / 0.6499 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.6565, allocations: 64.41 kB / 0.6499 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005904/0.6624, allocations: 2.623 MB / 0.6525 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003598/0.6629, allocations: 45.7 kB / 0.6526 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002715/0.6656, allocations: 2.216 MB / 0.6547 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009023/0.6665, allocations: 456.5 kB / 0.6552 GB, free: 396 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002563/0.6691, allocations: 0.778 MB / 0.6559 GB, free: 15.6 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6693, allocations: 305.1 kB / 0.6562 GB, free: 15.3 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002683/0.672, allocations: 1.432 MB / 0.6576 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/0.6768, allocations: 3.512 MB / 0.661 GB, free: 9.336 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00796/0.6848, allocations: 5.192 MB / 0.6661 GB, free: 3.121 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-05/0.6849, allocations: 20 kB / 0.6661 GB, free: 3.102 MB / 0.5138 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01063/0.6956, allocations: 4.93 MB / 0.6709 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.6958, allocations: 36 kB / 0.671 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/0.6959, allocations: 72 kB / 0.671 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.6961, allocations: 103.9 kB / 0.6711 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.6998, allocations: 0.8851 MB / 0.672 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001863/0.7, allocations: 147.9 kB / 0.6721 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/0.7032, allocations: 211.7 kB / 0.6723 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007347/0.7039, allocations: 219.9 kB / 0.6726 GB, free: 12.5 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.003685/0.7076, allocations: 1.593 MB / 0.6741 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/0.7084, allocations: 230.5 kB / 0.6743 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.7131, allocations: 2.106 MB / 0.6764 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.7132, allocations: 12 kB / 0.6764 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7132, allocations: 0 / 0.6764 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.7132, allocations: 11.97 kB / 0.6764 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.7276, allocations: 6.07 MB / 0.6823 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.46e-05/0.7277, allocations: 12 kB / 0.6823 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.7289, allocations: 256.4 kB / 0.6826 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-05/0.729, allocations: 23.98 kB / 0.6826 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.7292, allocations: 51.94 kB / 0.6827 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.242e-05/0.7292, allocations: 23.94 kB / 0.6827 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/0.7293, allocations: 19.88 kB / 0.6827 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.7332, allocations: 2.201 MB / 0.6849 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7343, allocations: 319.5 kB / 0.6852 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000694/0.735, allocations: 47.92 kB / 0.6852 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.7364, allocations: 63.94 kB / 0.6853 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.7367, allocations: 124.2 kB / 0.6854 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.7369, allocations: 52 kB / 0.6854 GB, free: 14.79 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003831/0.7408, allocations: 1.66 MB / 0.6871 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7408, allocations: 0 / 0.6871 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004162/0.745, allocations: 0.6718 MB / 0.6877 GB, free: 12.45 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.00519/0.7502, allocations: 2.836 MB / 0.6905 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006588/0.7568, allocations: 3.084 MB / 0.6935 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-05/0.7569, allocations: 4 kB / 0.6935 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.7586, allocations: 0.8036 MB / 0.6943 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/0.7621, allocations: 380.6 kB / 0.6946 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05981/0.822, allocations: 28.63 MB / 0.7226 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005047/0.8271, allocations: 2.667 MB / 0.7252 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.003176/0.8303, allocations: 0.9384 MB / 0.7261 GB, free: 2.121 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003315/0.8337, allocations: 1.37 MB / 0.7275 GB, free: 0.75 MB / 0.5763 GB Notification: Performance of SimCode: time 2.134e-06/0.8337, allocations: 0 / 0.7275 GB, free: 0.75 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/1.229, allocations: 51.93 MB / 0.7782 GB, free: 144.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.15, allocations: 10.81 kB / 0.7782 GB, free: 144.3 MB / 0.5763 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