Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_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.00136/0.00136, allocations: 105.2 kB / 16.4 MB, free: 6.461 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.001338/0.001338, allocations: 189.5 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2142/0.2142, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 73.61 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.109, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.01677/0.1258, allocations: 14.22 MB / 0.5013 GB, free: 14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008704/0.1346, allocations: 4.009 MB / 0.5052 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.1363, allocations: 75.88 kB / 0.5053 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007395/0.1438, allocations: 3.926 MB / 0.5091 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.1466, allocations: 1.003 MB / 0.5101 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.1488, allocations: 0.885 MB / 0.511 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.1525, allocations: 2.638 MB / 0.5135 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006117/0.1587, allocations: 5.11 MB / 0.5185 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.1611, allocations: 1.605 MB / 0.5201 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.1643, allocations: 2.084 MB / 0.5221 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009272/0.1652, allocations: 492 kB / 0.5226 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.1674, allocations: 1.139 MB / 0.5237 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.1695, allocations: 1.96 MB / 0.5256 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002754/0.1723, allocations: 2.285 MB / 0.5279 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2188/0.3911, allocations: 7.755 MB / 0.5354 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3912, allocations: 1.188 kB / 0.5354 GB, free: 15.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3912, allocations: 0 / 0.5354 GB, free: 15.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000263/0.3915, allocations: 0.75 kB / 0.5354 GB, free: 15.09 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01532/0.4068, allocations: 4.865 MB / 0.5402 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4068, allocations: 15.27 kB / 0.5402 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001289/0.4081, allocations: 0.6751 MB / 0.5409 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.4114, allocations: 0.6831 MB / 0.5415 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/0.4174, allocations: 2.327 MB / 0.5438 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.4178, allocations: 265.8 kB / 0.5441 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.4194, allocations: 352.2 kB / 0.5444 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02296/0.4424, allocations: 10.48 MB / 0.5546 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-05/0.4425, allocations: 16.53 kB / 0.5546 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004855/0.443, allocations: 155.4 kB / 0.5548 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.446, allocations: 1.637 MB / 0.5564 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01907/0.4651, allocations: 9.155 MB / 0.5653 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04647/0.5116, allocations: 30.6 MB / 0.5952 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.5219, allocations: 3.112 MB / 0.5982 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.5245, allocations: 1.657 MB / 0.5999 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.5383, allocations: 9.331 MB / 0.609 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.5384, allocations: 46.28 kB / 0.609 GB, free: 10.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 3.917e-06/0.5384, allocations: 0 / 0.609 GB, free: 10.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02706/0.5654, allocations: 9.149 MB / 0.618 GB, free: 1.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.5656, allocations: 115.8 kB / 0.6181 GB, free: 1.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004371/0.5699, allocations: 2.899 MB / 0.6209 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.5702, allocations: 51.83 kB / 0.6209 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.5723, allocations: 2.615 MB / 0.6235 GB, free: 11.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/0.5729, allocations: 449.1 kB / 0.6239 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001235/0.5741, allocations: 0.8486 MB / 0.6248 GB, free: 10.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5742, allocations: 301.1 kB / 0.625 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.5766, allocations: 1.494 MB / 0.6265 GB, free: 8.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0046/0.5812, allocations: 3.834 MB / 0.6303 GB, free: 3.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007796/0.5891, allocations: 5.61 MB / 0.6357 GB, free: 13.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.319e-05/0.5892, allocations: 24 kB / 0.6358 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01023/0.5994, allocations: 5.288 MB / 0.6409 GB, free: 8.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.5995, allocations: 40 kB / 0.641 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/0.5997, allocations: 84 kB / 0.641 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/0.5998, allocations: 112 kB / 0.6411 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.6033, allocations: 0.9921 MB / 0.6421 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/0.6035, allocations: 158.4 kB / 0.6423 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/0.6063, allocations: 235.6 kB / 0.6425 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/0.6067, allocations: 244 kB / 0.6427 GB, free: 6.852 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (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 (524): * Single equations (assignments): 523 * 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.003297/0.6101, allocations: 1.752 MB / 0.6444 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/0.6106, allocations: 254.3 kB / 0.6447 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/0.6142, allocations: 2.07 MB / 0.6467 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.6142, allocations: 12.09 kB / 0.6467 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.6143, allocations: 4 kB / 0.6467 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.6143, allocations: 19.66 kB / 0.6467 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.626, allocations: 6.66 MB / 0.6532 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.6261, allocations: 12 kB / 0.6532 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6271, allocations: 250.8 kB / 0.6535 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/0.6272, allocations: 27.69 kB / 0.6535 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.772e-05/0.6273, allocations: 36 kB / 0.6535 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.411e-05/0.6273, allocations: 28.05 kB / 0.6536 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-05/0.6273, allocations: 20.59 kB / 0.6536 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.6305, allocations: 2.211 MB / 0.6557 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.6312, allocations: 348.4 kB / 0.6561 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.6316, allocations: 47.92 kB / 0.6561 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6326, allocations: 67.95 kB / 0.6562 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.6328, allocations: 120.2 kB / 0.6563 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.6329, allocations: 51.98 kB / 0.6564 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003014/0.6359, allocations: 1.843 MB / 0.6582 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.636, allocations: 0 / 0.6582 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003444/0.6394, allocations: 0.7564 MB / 0.6589 GB, free: 5.984 MB / 0.4981 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 (134): * Single equations (assignments): 134 * 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.003791/0.6432, allocations: 2.852 MB / 0.6617 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005345/0.6486, allocations: 3.232 MB / 0.6648 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.6486, allocations: 384 / 0.6648 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.6498, allocations: 0.8071 MB / 0.6656 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.6517, allocations: 339 kB / 0.6659 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05029/0.702, allocations: 31.34 MB / 0.6966 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003998/0.7061, allocations: 2.952 MB / 0.6994 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002843/0.7089, allocations: 1.024 MB / 0.7004 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002613/0.7115, allocations: 1.616 MB / 0.702 GB, free: 6.406 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/0.7116, allocations: 0 / 0.702 GB, free: 6.406 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.8121, allocations: 51.7 MB / 0.7525 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.39, allocations: 15.53 kB / 0.7525 GB, free: 2.691 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches