Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 105.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1981/0.1981, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 57.09 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09945, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01261/0.1121, allocations: 12.43 MB / 481.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007663/0.1198, allocations: 3.848 MB / 485.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.1218, allocations: 67.88 kB / 485.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006899/0.1287, allocations: 3.867 MB / 489.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002626/0.1314, allocations: 0.8551 MB / 490.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.1337, allocations: 0.885 MB / 491.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003928/0.1376, allocations: 2.304 MB / 493.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005644/0.1433, allocations: 4.988 MB / 498.6 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.1452, allocations: 1.481 MB / 0.4884 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.1476, allocations: 1.956 MB / 0.4903 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007314/0.1483, allocations: 479.9 kB / 0.4907 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.1501, allocations: 1.159 MB / 0.4919 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.1514, allocations: 1.797 MB / 0.4936 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.1531, allocations: 2.064 MB / 0.4956 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005989/0.1591, allocations: 7.038 MB / 0.5025 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1592, allocations: 0 / 0.5025 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1592, allocations: 0 / 0.5025 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001291/0.1593, allocations: 0 / 0.5025 GB, free: 0.8359 MB / 382.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.1877/0.347, allocations: 4.325 MB / 0.5067 GB, free: 47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3471, allocations: 9.219 kB / 0.5067 GB, free: 47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000928/0.348, allocations: 0.5873 MB / 0.5073 GB, free: 46.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.351, allocations: 0.6581 MB / 0.508 GB, free: 46.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/0.3548, allocations: 2.218 MB / 0.5101 GB, free: 45.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.355, allocations: 238.3 kB / 0.5104 GB, free: 45.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005846/0.3556, allocations: 315.2 kB / 0.5107 GB, free: 45.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01845/0.3741, allocations: 9.432 MB / 0.5199 GB, free: 40.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.102e-05/0.3742, allocations: 12.5 kB / 0.5199 GB, free: 40.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.3745, allocations: 139.1 kB / 0.52 GB, free: 40.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/0.3762, allocations: 1.182 MB / 0.5212 GB, free: 40.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.3919, allocations: 8.641 MB / 0.5296 GB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.4223, allocations: 27.25 MB / 0.5562 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/0.4309, allocations: 3.105 MB / 0.5592 GB, free: 2.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.4326, allocations: 1.659 MB / 0.5609 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.4433, allocations: 8.992 MB / 0.5696 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4434, allocations: 43.56 kB / 0.5697 GB, free: 7.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 3.236e-06/0.4434, allocations: 4 kB / 0.5697 GB, free: 7.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02356/0.4669, allocations: 7.714 MB / 0.5772 GB, free: 15.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.467, allocations: 72.34 kB / 0.5773 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.4703, allocations: 2.607 MB / 0.5798 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.4704, allocations: 45.7 kB / 0.5799 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.4717, allocations: 2.144 MB / 0.582 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.472, allocations: 430.5 kB / 0.5824 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009163/0.4729, allocations: 0.7773 MB / 0.5831 GB, free: 9.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.473, allocations: 305.1 kB / 0.5834 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/0.4749, allocations: 1.432 MB / 0.5848 GB, free: 7.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/0.4779, allocations: 3.501 MB / 0.5883 GB, free: 3.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005283/0.4832, allocations: 5.185 MB / 0.5933 GB, free: 13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.303e-05/0.4833, allocations: 24 kB / 0.5933 GB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.006819/0.4901, allocations: 4.918 MB / 0.5981 GB, free: 8.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.4902, allocations: 36 kB / 0.5982 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.197e-05/0.4903, allocations: 73.22 kB / 0.5982 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.4904, allocations: 100 kB / 0.5983 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.4931, allocations: 0.8851 MB / 0.5992 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.731e-05/0.4932, allocations: 147 kB / 0.5993 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.4954, allocations: 211.6 kB / 0.5996 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.4957, allocations: 216 kB / 0.5998 GB, free: 6.398 MB / 430.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.002042/0.4978, allocations: 1.585 MB / 0.6013 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000324/0.4981, allocations: 221.1 kB / 0.6015 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.5011, allocations: 2.11 MB / 0.6036 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.5011, allocations: 12 kB / 0.6036 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5011, allocations: 0 / 0.6036 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5011, allocations: 3.984 kB / 0.6036 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.5091, allocations: 6.056 MB / 0.6095 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.5091, allocations: 15.94 kB / 0.6095 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/0.5101, allocations: 259.5 kB / 0.6098 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-05/0.5101, allocations: 20 kB / 0.6098 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.5102, allocations: 39.98 kB / 0.6098 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.5102, allocations: 27.92 kB / 0.6099 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.5102, allocations: 19.88 kB / 0.6099 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.5127, allocations: 2.189 MB / 0.612 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004444/0.5131, allocations: 306.2 kB / 0.6123 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.5134, allocations: 40 kB / 0.6123 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.5143, allocations: 63.94 kB / 0.6124 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5145, allocations: 120.2 kB / 0.6125 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-05/0.5145, allocations: 51.98 kB / 0.6126 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002043/0.5166, allocations: 1.668 MB / 0.6142 GB, free: 7.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5166, allocations: 0 / 0.6142 GB, free: 7.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002651/0.5193, allocations: 0.6771 MB / 0.6149 GB, free: 6.426 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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.002851/0.5221, allocations: 2.825 MB / 0.6176 GB, free: 3.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005029/0.5272, allocations: 3.501 MB / 0.621 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5272, allocations: 4.062 kB / 0.621 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5282, allocations: 0.8184 MB / 0.6218 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.53, allocations: 352.2 kB / 0.6222 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03915/0.5692, allocations: 31.25 MB / 0.6527 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/0.5724, allocations: 2.667 MB / 0.6553 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00267/0.5751, allocations: 0.9455 MB / 0.6562 GB, free: 7.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/0.5769, allocations: 1.378 MB / 0.6576 GB, free: 6.359 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5769, allocations: 0 / 0.6576 GB, free: 6.359 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/0.8555, allocations: 51.06 MB / 0.7074 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.24/10.1, allocations: 7.656 kB / 0.7074 GB, free: 174.3 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches