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.001239/0.001239, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.00134/0.00134, allocations: 199 kB / 16.91 MB, free: 6.195 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.433/1.433, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.355/0.355, allocations: 43.49 MB / 313.6 MB, free: 8.273 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.001621/0.001621, allocations: 67.89 kB / 382.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1393, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2899/0.4292, allocations: 52.64 MB / 492.7 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02404/0.4532, allocations: 10.39 MB / 0.4913 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01401/0.4673, allocations: 207 kB / 0.4915 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007223/0.4745, allocations: 3.803 MB / 0.4953 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004191/0.4788, allocations: 0.9183 MB / 0.4962 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.4811, allocations: 0.8179 MB / 0.4969 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.4856, allocations: 2.646 MB / 0.4995 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007672/0.4933, allocations: 5.38 MB / 0.5048 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.4965, allocations: 1.609 MB / 0.5064 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00364/0.5001, allocations: 2.244 MB / 0.5086 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.5012, allocations: 490.8 kB / 0.509 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.5036, allocations: 1.159 MB / 0.5102 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002284/0.5059, allocations: 1.968 MB / 0.5121 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.5088, allocations: 2.296 MB / 0.5143 GB, free: 108 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.5198, allocations: 7.593 MB / 0.5217 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5198, allocations: 0 / 0.5217 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5198, allocations: 0 / 0.5217 GB, free: 12.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002817/0.5201, allocations: 0 / 0.5217 GB, free: 12.15 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.01399/0.5341, allocations: 4.74 MB / 0.5264 GB, free: 8.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/0.5342, allocations: 15.89 kB / 0.5264 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002165/0.5364, allocations: 0.6813 MB / 0.527 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/0.5399, allocations: 0.6509 MB / 0.5277 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.5446, allocations: 2.289 MB / 0.5299 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.5448, allocations: 274.9 kB / 0.5302 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007356/0.5456, allocations: 351.9 kB / 0.5305 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/0.5681, allocations: 10.47 MB / 0.5407 GB, free: 9.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.926e-05/0.5682, allocations: 11.88 kB / 0.5407 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004168/0.5687, allocations: 155.9 kB / 0.5409 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/0.5716, allocations: 1.643 MB / 0.5425 GB, free: 7.742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.593, allocations: 9.146 MB / 0.5514 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04994/0.643, allocations: 30.75 MB / 0.5815 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.6531, allocations: 3.106 MB / 0.5845 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.6555, allocations: 1.657 MB / 0.5861 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/0.6695, allocations: 9.324 MB / 0.5952 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.6696, allocations: 47.56 kB / 0.5953 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 4.188e-06/0.6696, allocations: 0 / 0.5953 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02689/0.6965, allocations: 9 MB / 0.6041 GB, free: 7.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/0.6966, allocations: 119.8 kB / 0.6042 GB, free: 7.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/0.701, allocations: 2.891 MB / 0.607 GB, free: 4.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.7012, allocations: 49.7 kB / 0.607 GB, free: 4.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.7029, allocations: 2.505 MB / 0.6095 GB, free: 1.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.7033, allocations: 430.7 kB / 0.6099 GB, free: 1.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.7044, allocations: 0.8447 MB / 0.6107 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7045, allocations: 305.1 kB / 0.611 GB, free: 264 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/0.7065, allocations: 1.488 MB / 0.6125 GB, free: 14.76 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/0.7101, allocations: 3.836 MB / 0.6162 GB, free: 9.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00612/0.7162, allocations: 5.604 MB / 0.6217 GB, free: 2.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.751e-05/0.7163, allocations: 24 kB / 0.6217 GB, free: 2.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.007643/0.7239, allocations: 5.273 MB / 0.6269 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.724, allocations: 44 kB / 0.6269 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.807e-05/0.7241, allocations: 80.19 kB / 0.627 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.7242, allocations: 120 kB / 0.6271 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003018/0.7272, allocations: 0.9943 MB / 0.6281 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001281/0.7274, allocations: 163.3 kB / 0.6282 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/0.7301, allocations: 231.5 kB / 0.6284 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/0.7304, allocations: 236 kB / 0.6287 GB, free: 11.82 MB / 0.4981 GB 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.003649/0.7341, allocations: 1.758 MB / 0.6304 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/0.7346, allocations: 240.9 kB / 0.6306 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.7378, allocations: 2.065 MB / 0.6326 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.7378, allocations: 12 kB / 0.6326 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.7378, allocations: 7.938 kB / 0.6326 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.7378, allocations: 3.984 kB / 0.6326 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/0.7484, allocations: 6.66 MB / 0.6391 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.7485, allocations: 19.94 kB / 0.6392 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009743/0.7495, allocations: 255.5 kB / 0.6394 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.601e-05/0.7495, allocations: 20.78 kB / 0.6394 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.289e-05/0.7496, allocations: 44 kB / 0.6395 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.369e-05/0.7497, allocations: 31.92 kB / 0.6395 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.488e-05/0.7497, allocations: 19.88 kB / 0.6395 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2762/1.026, allocations: 2.197 MB / 0.6417 GB, free: 156.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/1.027, allocations: 330.6 kB / 0.642 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/1.027, allocations: 41.27 kB / 0.642 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000935/1.028, allocations: 69.62 kB / 0.6421 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/1.028, allocations: 120.5 kB / 0.6422 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/1.028, allocations: 49.25 kB / 0.6423 GB, free: 156.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002413/1.03, allocations: 1.849 MB / 0.6441 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/1.03, allocations: 0 / 0.6441 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003251/1.034, allocations: 0.7546 MB / 0.6448 GB, free: 156.2 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.002675/1.036, allocations: 2.84 MB / 0.6476 GB, free: 154.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004764/1.041, allocations: 3.584 MB / 0.6511 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.041, allocations: 6.938 kB / 0.6511 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/1.042, allocations: 0.8038 MB / 0.6519 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.044, allocations: 335.8 kB / 0.6522 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.055/1.099, allocations: 36.27 MB / 0.6876 GB, free: 126.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00362/1.102, allocations: 2.949 MB / 0.6905 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00304/1.105, allocations: 1.027 MB / 0.6915 GB, free: 125.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.107, allocations: 1.609 MB / 0.6931 GB, free: 124 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/1.107, allocations: 2.188 kB / 0.6931 GB, free: 124 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07521/1.183, allocations: 53.95 MB / 0.7457 GB, free: 83.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.183, allocations: 200.6 kB / 0.7459 GB, free: 82.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.583/4.766, allocations: 0 / 0.7459 GB, free: 82.9 MB / 0.4981 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 & /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