Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009498/0.0009497, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000995/0.0009951, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1284, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.2804/0.4089, allocations: 49.27 MB / 0.52 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02134/0.4303, allocations: 9.943 MB / 0.5297 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009029/0.4393, allocations: 209.4 kB / 0.5299 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.4404, allocations: 316.8 kB / 0.5302 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.4428, allocations: 0.8073 MB / 0.531 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.4443, allocations: 0.6373 MB / 0.5316 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004405/0.4487, allocations: 3.635 MB / 0.5351 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008609/0.4573, allocations: 7.189 MB / 0.5422 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.4588, allocations: 0.8699 MB / 0.543 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.4606, allocations: 1.474 MB / 0.5444 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.4609, allocations: 130.8 kB / 0.5446 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4622, allocations: 0.7693 MB / 0.5453 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000952/0.4631, allocations: 1.367 MB / 0.5467 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.4644, allocations: 1.595 MB / 0.5482 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005769/0.4702, allocations: 6.408 MB / 0.5545 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4702, allocations: 0 / 0.5545 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4703, allocations: 0 / 0.5545 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000173/0.4704, allocations: 0 / 0.5545 GB, free: 9.98 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.007449/0.4779, allocations: 3.39 MB / 0.5578 GB, free: 6.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.478, allocations: 8.875 kB / 0.5578 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008526/0.4788, allocations: 0.5826 MB / 0.5584 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.481, allocations: 0.6243 MB / 0.559 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.4846, allocations: 2.112 MB / 0.561 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.4847, allocations: 237.4 kB / 0.5613 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005048/0.4852, allocations: 316.2 kB / 0.5616 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.5007, allocations: 8.219 MB / 0.5696 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.769e-05/0.5008, allocations: 15.88 kB / 0.5696 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.5011, allocations: 138.6 kB / 0.5697 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.5027, allocations: 1.098 MB / 0.5708 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.5176, allocations: 6.726 MB / 0.5774 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.5503, allocations: 24.33 MB / 0.6011 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006238/0.5565, allocations: 1.987 MB / 0.6031 GB, free: 7.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.5579, allocations: 0.8957 MB / 0.6039 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008991/0.567, allocations: 6.367 MB / 0.6102 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.567, allocations: 43.16 kB / 0.6102 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.567, allocations: 0 / 0.6102 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=99): time 0.01693/0.584, allocations: 5.752 MB / 0.6158 GB, free: 9.887 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.5841, allocations: 119.8 kB / 0.6159 GB, free: 9.746 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/0.5883, allocations: 2.43 MB / 0.6183 GB, free: 7.289 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.78e-05/0.5884, allocations: 45.64 kB / 0.6184 GB, free: 7.238 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.59, allocations: 2.169 MB / 0.6205 GB, free: 5.066 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.5904, allocations: 392 kB / 0.6208 GB, free: 4.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/0.5908, allocations: 333.2 kB / 0.6212 GB, free: 4.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.591, allocations: 313 kB / 0.6215 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.5926, allocations: 0.9673 MB / 0.6224 GB, free: 3.078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.5957, allocations: 3.041 MB / 0.6254 GB, free: 15.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.601, allocations: 4.36 MB / 0.6296 GB, free: 9.613 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.55e-05/0.6011, allocations: 24 kB / 0.6297 GB, free: 9.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.007104/0.6082, allocations: 3.938 MB / 0.6335 GB, free: 5.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.6083, allocations: 38.5 kB / 0.6335 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.6084, allocations: 76 kB / 0.6336 GB, free: 5.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.6085, allocations: 96 kB / 0.6337 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.6109, allocations: 0.8032 MB / 0.6345 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000127/0.6111, allocations: 147.4 kB / 0.6346 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.6135, allocations: 171.9 kB / 0.6348 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.6138, allocations: 208 kB / 0.635 GB, free: 4.125 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 56 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 (449): * Single equations (assignments): 448 * 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.002593/0.6164, allocations: 1.583 MB / 0.6365 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/0.6168, allocations: 209.3 kB / 0.6367 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.6174, allocations: 258.2 kB / 0.637 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.6174, allocations: 8 kB / 0.637 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.6174, allocations: 3.938 kB / 0.637 GB, free: 2.059 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.6175, allocations: 7.984 kB / 0.637 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009122/0.6266, allocations: 5.854 MB / 0.6427 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.235e-05/0.6267, allocations: 20 kB / 0.6427 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.6274, allocations: 227.7 kB / 0.643 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.749e-05/0.6274, allocations: 24 kB / 0.643 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.6275, allocations: 52 kB / 0.643 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-05/0.6276, allocations: 39.8 kB / 0.6431 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/0.6276, allocations: 39.8 kB / 0.6431 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.6296, allocations: 1.953 MB / 0.645 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.6302, allocations: 318 kB / 0.6453 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.6305, allocations: 47.98 kB / 0.6454 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.6315, allocations: 43.98 kB / 0.6454 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6316, allocations: 151.2 kB / 0.6455 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.6317, allocations: 55.94 kB / 0.6456 GB, free: 8.625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002482/0.6342, allocations: 1.606 MB / 0.6472 GB, free: 7.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6342, allocations: 0 / 0.6472 GB, free: 7.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00304/0.6373, allocations: 0.6016 MB / 0.6478 GB, free: 6.406 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 88 * 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.002871/0.6401, allocations: 2.595 MB / 0.6503 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.6439, allocations: 2.22 MB / 0.6525 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.6439, allocations: 4.375 kB / 0.6525 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007892/0.6447, allocations: 0.5454 MB / 0.653 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008191/0.6529, allocations: 376.7 kB / 0.6534 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05253/0.7055, allocations: 30.48 MB / 0.6831 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004501/0.71, allocations: 2.674 MB / 0.6857 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002777/0.7128, allocations: 0.895 MB / 0.6866 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/0.7149, allocations: 1.362 MB / 0.6879 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of SimCode: time 9.41e-07/0.715, allocations: 0 / 0.6879 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2941/1.009, allocations: 44.56 MB / 0.7315 GB, free: 190.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001264/1.009, allocations: 196.4 kB / 0.7316 GB, free: 189.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.879, allocations: 0 / 0.7316 GB, free: 189.8 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRP/JointRRP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches