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.0008402/0.0008402, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 176 kB / 16.91 MB, free: 6.684 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.345/1.345, allocations: 205.4 MB / 223.1 MB, free: 5.223 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2917/0.2917, allocations: 43.57 MB / 315 MB, free: 8.977 MB / 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.000461/0.0004611, allocations: 14.66 kB / 384.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 58.87 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.1926/0.2937, allocations: 51.26 MB / 494.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01838/0.3121, allocations: 10.4 MB / 0.4934 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00773/0.3199, allocations: 214.7 kB / 0.4936 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009729/0.3209, allocations: 350.4 kB / 0.4939 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.3229, allocations: 0.9473 MB / 0.4948 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.3244, allocations: 0.7991 MB / 0.4956 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.3278, allocations: 4.208 MB / 0.4997 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008627/0.3365, allocations: 7.325 MB / 0.5069 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.338, allocations: 0.9759 MB / 0.5078 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.3403, allocations: 1.641 MB / 0.5094 GB, free: 4.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.3407, allocations: 155.2 kB / 0.5096 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.3423, allocations: 0.8754 MB / 0.5104 GB, free: 3.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.3438, allocations: 1.549 MB / 0.5119 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.3451, allocations: 1.834 MB / 0.5137 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.3518, allocations: 7.171 MB / 0.5207 GB, free: 14.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3518, allocations: 0 / 0.5207 GB, free: 14.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3518, allocations: 0 / 0.5207 GB, free: 14.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.352, allocations: 0 / 0.5207 GB, free: 14.31 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.00858/0.3606, allocations: 3.894 MB / 0.5245 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3606, allocations: 10 kB / 0.5245 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001091/0.3617, allocations: 0.6875 MB / 0.5252 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.3649, allocations: 0.6627 MB / 0.5259 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.3695, allocations: 2.3 MB / 0.5281 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.3697, allocations: 262.9 kB / 0.5284 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006212/0.3703, allocations: 347.9 kB / 0.5287 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02134/0.3917, allocations: 10.52 MB / 0.539 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.776e-05/0.3918, allocations: 15.88 kB / 0.539 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003686/0.3922, allocations: 159.9 kB / 0.5391 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002896/0.3951, allocations: 1.636 MB / 0.5407 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.4137, allocations: 9.185 MB / 0.5497 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04088/0.4547, allocations: 30.76 MB / 0.5797 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009308/0.464, allocations: 3.098 MB / 0.5828 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00219/0.4662, allocations: 1.657 MB / 0.5844 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.4778, allocations: 9.328 MB / 0.5935 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4778, allocations: 51.5 kB / 0.5935 GB, free: 4.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 2.224e-06/0.4778, allocations: 0 / 0.5935 GB, free: 4.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02328/0.5011, allocations: 8.98 MB / 0.6023 GB, free: 11.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.5012, allocations: 119.8 kB / 0.6024 GB, free: 11.19 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/0.5046, allocations: 2.887 MB / 0.6052 GB, free: 8.289 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-05/0.5047, allocations: 45.7 kB / 0.6053 GB, free: 8.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.5062, allocations: 2.513 MB / 0.6077 GB, free: 5.691 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.5065, allocations: 438.5 kB / 0.6082 GB, free: 5.258 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.507, allocations: 370.5 kB / 0.6085 GB, free: 4.887 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.5071, allocations: 305.1 kB / 0.6088 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.509, allocations: 1.492 MB / 0.6103 GB, free: 3.086 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.5125, allocations: 3.832 MB / 0.614 GB, free: 14.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/0.5182, allocations: 5.608 MB / 0.6195 GB, free: 7.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/0.5183, allocations: 24 kB / 0.6195 GB, free: 7.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.00755/0.5258, allocations: 5.273 MB / 0.6246 GB, free: 2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.5259, allocations: 40.22 kB / 0.6247 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.863e-05/0.526, allocations: 91.98 kB / 0.6248 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.5261, allocations: 112 kB / 0.6249 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002958/0.5291, allocations: 0.9903 MB / 0.6258 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/0.5292, allocations: 167.3 kB / 0.626 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.5316, allocations: 231.5 kB / 0.6262 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/0.5319, allocations: 240 kB / 0.6265 GB, free: 148 kB / 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.1707/0.7026, allocations: 1.749 MB / 0.6282 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.7031, allocations: 241.2 kB / 0.6284 GB, free: 140.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.7063, allocations: 2.061 MB / 0.6304 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7063, allocations: 18.77 kB / 0.6304 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.7063, allocations: 0 / 0.6304 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.7064, allocations: 6.484 kB / 0.6304 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008163/0.7145, allocations: 6.663 MB / 0.6369 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/0.7146, allocations: 14.69 kB / 0.637 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.7154, allocations: 255.9 kB / 0.6372 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.7154, allocations: 18.28 kB / 0.6372 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.7155, allocations: 41.03 kB / 0.6373 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.7155, allocations: 35.53 kB / 0.6373 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.7155, allocations: 17.03 kB / 0.6373 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.7174, allocations: 2.195 MB / 0.6394 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/0.7179, allocations: 343.8 kB / 0.6398 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.7182, allocations: 39.97 kB / 0.6398 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.719, allocations: 67.98 kB / 0.6399 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.7192, allocations: 119.7 kB / 0.64 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.7193, allocations: 54.58 kB / 0.64 GB, free: 137.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.7211, allocations: 1.843 MB / 0.6418 GB, free: 136.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7212, allocations: 0 / 0.6418 GB, free: 136.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00267/0.7238, allocations: 0.755 MB / 0.6426 GB, free: 136.5 MB / 494.1 MB 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.002158/0.726, allocations: 2.848 MB / 0.6454 GB, free: 134.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003373/0.7294, allocations: 3.199 MB / 0.6485 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.7294, allocations: 0 / 0.6485 GB, free: 133.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007555/0.7302, allocations: 0.812 MB / 0.6493 GB, free: 133.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005491/0.7357, allocations: 318.8 kB / 0.6496 GB, free: 133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05076/0.7864, allocations: 36.31 MB / 0.685 GB, free: 106.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004097/0.7906, allocations: 2.949 MB / 0.6879 GB, free: 104.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002839/0.7934, allocations: 1.029 MB / 0.6889 GB, free: 104.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.7954, allocations: 1.608 MB / 0.6905 GB, free: 103.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.7954, allocations: 0 / 0.6905 GB, free: 103.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.236/3.031, allocations: 52.36 MB / 0.7416 GB, free: 56.56 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/3.032, allocations: 183.9 kB / 0.7418 GB, free: 56.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.643/6.674, allocations: 0 / 0.7418 GB, free: 56.3 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches