Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",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.001523/0.001523, allocations: 104.8 kB / 15.98 MB, free: 6.711 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.001701/0.001701, allocations: 193.2 kB / 16.91 MB, free: 6.535 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.545/1.545, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4172/0.4172, allocations: 43.5 MB / 313.6 MB, free: 8.496 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.001763/0.001763, allocations: 70.56 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1334, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2782/0.4117, allocations: 52.67 MB / 492.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0288/0.4405, allocations: 10.22 MB / 0.4912 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01616/0.4567, allocations: 213.5 kB / 0.4914 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008/0.4648, allocations: 3.831 MB / 0.4952 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.469, allocations: 0.92 MB / 0.4961 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.4713, allocations: 0.6626 MB / 0.4967 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005074/0.4764, allocations: 2.559 MB / 0.4992 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009207/0.4857, allocations: 5.304 MB / 0.5044 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003656/0.4893, allocations: 1.608 MB / 0.5059 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004737/0.4941, allocations: 2.213 MB / 0.5081 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002212/0.4963, allocations: 467.3 kB / 0.5086 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.5001, allocations: 1.012 MB / 0.5095 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003637/0.5038, allocations: 1.93 MB / 0.5114 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005133/0.5089, allocations: 2.253 MB / 0.5136 GB, free: 500 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009507/0.5185, allocations: 7.331 MB / 0.5208 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5185, allocations: 4 kB / 0.5208 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5185, allocations: 0 / 0.5208 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.00026/0.5188, allocations: 0 / 0.5208 GB, free: 12.89 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: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01216/0.531, allocations: 4.562 MB / 0.5252 GB, free: 9.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.531, allocations: 12.23 kB / 0.5253 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001365/0.5324, allocations: 0.673 MB / 0.5259 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/0.5352, allocations: 0.6131 MB / 0.5265 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004407/0.5396, allocations: 2.184 MB / 0.5286 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.5399, allocations: 271.3 kB / 0.5289 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005862/0.5405, allocations: 347.8 kB / 0.5292 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.5593, allocations: 9.246 MB / 0.5383 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.5594, allocations: 15.88 kB / 0.5383 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003917/0.5598, allocations: 155.9 kB / 0.5384 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002684/0.5625, allocations: 1.554 MB / 0.5399 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.578, allocations: 7.214 MB / 0.547 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05103/0.6291, allocations: 27.93 MB / 0.5743 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007349/0.6365, allocations: 2.19 MB / 0.5764 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.6383, allocations: 0.9823 MB / 0.5774 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.6485, allocations: 6.707 MB / 0.5839 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.6486, allocations: 43.06 kB / 0.584 GB, free: 12.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/0.6486, allocations: 0 / 0.584 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.02172/0.6704, allocations: 7.453 MB / 0.5912 GB, free: 4.641 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.6705, allocations: 171.2 kB / 0.5914 GB, free: 4.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/0.6745, allocations: 2.725 MB / 0.5941 GB, free: 1.695 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.6747, allocations: 41.7 kB / 0.5941 GB, free: 1.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.6763, allocations: 2.544 MB / 0.5966 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.6768, allocations: 403 kB / 0.597 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/0.6778, allocations: 0.8014 MB / 0.5977 GB, free: 13.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6779, allocations: 305.1 kB / 0.598 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.6796, allocations: 1.124 MB / 0.5991 GB, free: 12.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.6832, allocations: 3.474 MB / 0.6025 GB, free: 7.801 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006099/0.6893, allocations: 4.937 MB / 0.6074 GB, free: 1.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-05/0.6894, allocations: 24 kB / 0.6074 GB, free: 1.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007584/0.697, allocations: 4.505 MB / 0.6118 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.6971, allocations: 44 kB / 0.6118 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.921e-05/0.6972, allocations: 80 kB / 0.6119 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.6973, allocations: 112 kB / 0.612 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.7001, allocations: 0.9436 MB / 0.6129 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001368/0.7002, allocations: 159.4 kB / 0.6131 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/0.7029, allocations: 215.7 kB / 0.6133 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.7032, allocations: 240 kB / 0.6135 GB, free: 11.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[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 (505): * Single equations (assignments): 504 * 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.003212/0.7064, allocations: 1.763 MB / 0.6152 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/0.7069, allocations: 233 kB / 0.6155 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.7091, allocations: 1.194 MB / 0.6166 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.7092, allocations: 16 kB / 0.6166 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.7092, allocations: 0 / 0.6166 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.7092, allocations: 7.922 kB / 0.6166 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00984/0.719, allocations: 6.385 MB / 0.6229 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/0.7191, allocations: 16 kB / 0.6229 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.72, allocations: 247.5 kB / 0.6231 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/0.72, allocations: 24 kB / 0.6231 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/0.7201, allocations: 47.98 kB / 0.6232 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.952e-05/0.7201, allocations: 32.39 kB / 0.6232 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/0.7202, allocations: 27.94 kB / 0.6233 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.7229, allocations: 2.109 MB / 0.6253 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/0.7236, allocations: 329.8 kB / 0.6256 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.7239, allocations: 43.98 kB / 0.6257 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.7249, allocations: 59.95 kB / 0.6257 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.725, allocations: 135.4 kB / 0.6259 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.449e-05/0.7251, allocations: 52 kB / 0.6259 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002619/0.7278, allocations: 1.809 MB / 0.6277 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7278, allocations: 3.938 kB / 0.6277 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003486/0.7313, allocations: 0.6953 MB / 0.6284 GB, free: 11.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (123): * Single equations (assignments): 123 * 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.003037/0.7343, allocations: 2.757 MB / 0.631 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004948/0.7393, allocations: 2.76 MB / 0.6337 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.925e-05/0.7393, allocations: 0 / 0.6337 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.7404, allocations: 0.6484 MB / 0.6344 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.7437, allocations: 340.5 kB / 0.6347 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3065/1.05, allocations: 34.7 MB / 0.6686 GB, free: 143 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003975/1.054, allocations: 2.96 MB / 0.6715 GB, free: 141.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003404/1.058, allocations: 1.018 MB / 0.6725 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002035/1.06, allocations: 1.602 MB / 0.674 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/1.06, allocations: 0 / 0.674 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/2.227, allocations: 50.42 MB / 0.7233 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/2.227, allocations: 184.8 kB / 0.7234 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/5.541, allocations: 4 kB / 0.7235 GB, free: 109.3 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches