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.0008186/0.0008187, allocations: 95.75 kB / 17.35 MB, free: 6.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.0008952/0.0008951, allocations: 172.1 kB / 18.25 MB, free: 5.504 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.235/1.235, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1861/0.1861, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 12 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2558/0.3709, allocations: 49.54 MB / 0.5097 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02105/0.392, allocations: 10.25 MB / 0.5197 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008598/0.4006, allocations: 207.7 kB / 0.5199 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.4021, allocations: 322.7 kB / 0.5202 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.4048, allocations: 0.7988 MB / 0.521 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.4069, allocations: 0.7913 MB / 0.5217 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004988/0.4119, allocations: 3.712 MB / 0.5254 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0084/0.4203, allocations: 7.209 MB / 0.5324 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.4215, allocations: 0.8688 MB / 0.5332 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.4231, allocations: 1.507 MB / 0.5347 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.4233, allocations: 138.3 kB / 0.5348 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.4247, allocations: 0.8935 MB / 0.5357 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000821/0.4255, allocations: 1.39 MB / 0.5371 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.4264, allocations: 1.623 MB / 0.5387 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.4309, allocations: 6.657 MB / 0.5452 GB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4309, allocations: 0 / 0.5452 GB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4309, allocations: 0 / 0.5452 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.747e-05/0.431, allocations: 0 / 0.5452 GB, free: 12.9 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.006493/0.4375, allocations: 3.564 MB / 0.5486 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4375, allocations: 8.031 kB / 0.5487 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007579/0.4383, allocations: 0.5897 MB / 0.5492 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/0.4409, allocations: 0.6657 MB / 0.5499 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.4445, allocations: 2.219 MB / 0.552 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.4447, allocations: 238.1 kB / 0.5523 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005401/0.4452, allocations: 323 kB / 0.5526 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.4633, allocations: 9.451 MB / 0.5618 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/0.4634, allocations: 19.88 kB / 0.5618 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.4637, allocations: 137.4 kB / 0.562 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/0.4656, allocations: 1.184 MB / 0.5631 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.4827, allocations: 8.668 MB / 0.5716 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03286/0.5156, allocations: 27.26 MB / 0.5982 GB, free: 6.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009347/0.525, allocations: 3.104 MB / 0.6012 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.5274, allocations: 1.659 MB / 0.6029 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.5399, allocations: 8.981 MB / 0.6116 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.54, allocations: 43.56 kB / 0.6117 GB, free: 8.625 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.026e-06/0.54, allocations: 4 kB / 0.6117 GB, free: 8.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.0245/0.5645, allocations: 7.714 MB / 0.6192 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5646, allocations: 64.41 kB / 0.6193 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/0.569, allocations: 2.611 MB / 0.6218 GB, free: 14.19 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.5692, allocations: 45.7 kB / 0.6219 GB, free: 14.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001753/0.571, allocations: 2.142 MB / 0.624 GB, free: 12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/0.5715, allocations: 431.9 kB / 0.6244 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005649/0.5721, allocations: 353.6 kB / 0.6247 GB, free: 11.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5722, allocations: 309 kB / 0.625 GB, free: 10.92 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.5746, allocations: 1.425 MB / 0.6264 GB, free: 9.496 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/0.5782, allocations: 3.504 MB / 0.6298 GB, free: 4.973 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/0.5844, allocations: 5.189 MB / 0.6349 GB, free: 14.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-05/0.5845, allocations: 20 kB / 0.6349 GB, free: 14.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.008274/0.5928, allocations: 4.909 MB / 0.6397 GB, free: 9.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.5929, allocations: 37 kB / 0.6397 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.593, allocations: 75.94 kB / 0.6398 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.5932, allocations: 104 kB / 0.6399 GB, free: 9.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.5962, allocations: 0.889 MB / 0.6408 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.5963, allocations: 147.4 kB / 0.6409 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.5988, allocations: 207.6 kB / 0.6411 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/0.5991, allocations: 215.9 kB / 0.6413 GB, free: 8.172 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.002558/0.6017, allocations: 1.585 MB / 0.6429 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.6021, allocations: 217.1 kB / 0.6431 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.6054, allocations: 2.102 MB / 0.6451 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6055, allocations: 12 kB / 0.6451 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.6055, allocations: 0 / 0.6451 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6055, allocations: 7.922 kB / 0.6451 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009478/0.615, allocations: 6.067 MB / 0.6511 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.615, allocations: 16.91 kB / 0.6511 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/0.616, allocations: 259.5 kB / 0.6513 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-05/0.6161, allocations: 20 kB / 0.6513 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.712e-05/0.6162, allocations: 44 kB / 0.6514 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.266e-05/0.6162, allocations: 27.92 kB / 0.6514 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.6162, allocations: 19.88 kB / 0.6514 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.6189, allocations: 2.173 MB / 0.6536 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.6196, allocations: 314.1 kB / 0.6539 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.6199, allocations: 43.98 kB / 0.6539 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.621, allocations: 59.94 kB / 0.654 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.6212, allocations: 124.2 kB / 0.6541 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.6212, allocations: 48 kB / 0.6541 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002688/0.6239, allocations: 1.672 MB / 0.6557 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6239, allocations: 0 / 0.6557 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003551/0.6275, allocations: 0.6861 MB / 0.6564 GB, free: 8.211 MB / 0.4981 GB 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.00353/0.631, allocations: 2.82 MB / 0.6592 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004622/0.6357, allocations: 3.055 MB / 0.6622 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.6357, allocations: 1.875 kB / 0.6622 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6369, allocations: 0.8184 MB / 0.663 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005619/0.6425, allocations: 355.5 kB / 0.6633 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04941/0.6919, allocations: 32.76 MB / 0.6953 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/0.6953, allocations: 2.667 MB / 0.6979 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002607/0.6979, allocations: 0.9384 MB / 0.6988 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/0.6998, allocations: 1.37 MB / 0.7001 GB, free: 7.074 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.6998, allocations: 4 kB / 0.7002 GB, free: 7.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/1.003, allocations: 49.38 MB / 0.7484 GB, free: 185.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/1.003, allocations: 190.7 kB / 0.7486 GB, free: 185.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/3.769, allocations: 4 kB / 0.7486 GB, free: 185.4 MB / 0.545 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