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.001363/0.001363, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001333/0.001333, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.214/0.214, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3758, allocations: 60.81 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01436/0.3903, allocations: 12.43 MB / 0.5306 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009215/0.3995, allocations: 3.862 MB / 0.5343 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.4021, allocations: 67.03 kB / 0.5344 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007852/0.4099, allocations: 3.858 MB / 0.5382 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.413, allocations: 0.8477 MB / 0.539 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.4157, allocations: 0.8916 MB / 0.5399 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004233/0.42, allocations: 2.305 MB / 0.5421 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007853/0.4279, allocations: 4.98 MB / 0.547 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.431, allocations: 1.488 MB / 0.5484 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00389/0.435, allocations: 1.952 MB / 0.5503 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.4368, allocations: 480 kB / 0.5508 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.4403, allocations: 1.159 MB / 0.5519 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00323/0.4436, allocations: 1.797 MB / 0.5537 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004819/0.4484, allocations: 2.064 MB / 0.5557 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4585, allocations: 7.162 MB / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.4586, allocations: 0 / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4586, allocations: 0 / 0.5627 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002859/0.4589, allocations: 0 / 0.5627 GB, free: 14.63 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.01413/0.473, allocations: 4.343 MB / 0.5669 GB, free: 10.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.4731, allocations: 8.031 kB / 0.5669 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002057/0.4752, allocations: 0.59 MB / 0.5675 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003982/0.4792, allocations: 0.6555 MB / 0.5682 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006143/0.4854, allocations: 2.25 MB / 0.5704 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.4856, allocations: 238.2 kB / 0.5706 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.4869, allocations: 311.9 kB / 0.5709 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.5102, allocations: 9.43 MB / 0.5801 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-05/0.5103, allocations: 11.88 kB / 0.5801 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007069/0.5111, allocations: 147.9 kB / 0.5802 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002152/0.5132, allocations: 1.181 MB / 0.5814 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02056/0.5338, allocations: 8.633 MB / 0.5898 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.573, allocations: 27.09 MB / 0.6163 GB, free: 6.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009219/0.5823, allocations: 3.107 MB / 0.6193 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002161/0.5845, allocations: 1.655 MB / 0.6209 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/0.598, allocations: 8.986 MB / 0.6297 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.5981, allocations: 47.56 kB / 0.6298 GB, free: 8.461 MB / 494.1 MB Notification: Performance of pre-optimization done (n=93): time 3.326e-06/0.5981, allocations: 0 / 0.6298 GB, free: 8.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=110): time 0.0258/0.6239, allocations: 7.723 MB / 0.6373 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.624, allocations: 60.41 kB / 0.6374 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004965/0.629, allocations: 2.619 MB / 0.6399 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.6294, allocations: 41.7 kB / 0.64 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.6311, allocations: 2.137 MB / 0.642 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006888/0.6318, allocations: 430.5 kB / 0.6424 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/0.6336, allocations: 0.7773 MB / 0.6432 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6337, allocations: 309.1 kB / 0.6435 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.6361, allocations: 1.428 MB / 0.6449 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00388/0.64, allocations: 3.504 MB / 0.6483 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006713/0.6467, allocations: 5.184 MB / 0.6534 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.113e-05/0.6469, allocations: 20 kB / 0.6534 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.008886/0.6558, allocations: 4.917 MB / 0.6582 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/0.6559, allocations: 38.81 kB / 0.6582 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.656, allocations: 72 kB / 0.6583 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.6562, allocations: 96 kB / 0.6584 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/0.6594, allocations: 0.8889 MB / 0.6593 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001392/0.6596, allocations: 139.5 kB / 0.6594 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.6622, allocations: 220 kB / 0.6596 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.6627, allocations: 215.9 kB / 0.6598 GB, free: 7.523 MB / 0.5137 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.003031/0.6657, allocations: 1.597 MB / 0.6614 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.6662, allocations: 217.2 kB / 0.6616 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/0.6699, allocations: 2.102 MB / 0.6636 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6699, allocations: 8 kB / 0.6636 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.67, allocations: 4 kB / 0.6636 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.67, allocations: 7.984 kB / 0.6637 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.6811, allocations: 6.056 MB / 0.6696 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.6811, allocations: 15.94 kB / 0.6696 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6822, allocations: 255.6 kB / 0.6698 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.011e-05/0.6822, allocations: 20 kB / 0.6698 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.6824, allocations: 36 kB / 0.6699 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.285e-05/0.6824, allocations: 27.86 kB / 0.6699 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/0.6824, allocations: 23.88 kB / 0.6699 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.6853, allocations: 2.182 MB / 0.6721 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/0.686, allocations: 310.2 kB / 0.6724 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/0.6864, allocations: 36 kB / 0.6724 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6874, allocations: 59.94 kB / 0.6725 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.6876, allocations: 128.2 kB / 0.6726 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.6877, allocations: 51.98 kB / 0.6726 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002801/0.6906, allocations: 1.672 MB / 0.6743 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6906, allocations: 0 / 0.6743 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003157/0.6937, allocations: 0.6719 MB / 0.6749 GB, free: 7.543 MB / 0.5294 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.003639/0.6974, allocations: 2.825 MB / 0.6777 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0055/0.7029, allocations: 3.084 MB / 0.6807 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.433e-05/0.703, allocations: 8.188 kB / 0.6807 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.7043, allocations: 0.8107 MB / 0.6815 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/0.7067, allocations: 352.7 kB / 0.6818 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04917/0.7559, allocations: 28.48 MB / 0.7096 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00397/0.7599, allocations: 2.675 MB / 0.7122 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002672/0.7626, allocations: 0.95 MB / 0.7132 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002069/0.7647, allocations: 1.37 MB / 0.7145 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.7647, allocations: 0 / 0.7145 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3453/1.11, allocations: 52.59 MB / 0.7659 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.12, allocations: 4.062 kB / 0.7659 GB, free: 163.4 MB / 0.5762 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