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.001869/0.001869, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002179/0.002179, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 83.86 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3944, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.01613/0.4106, allocations: 12.48 MB / 0.5428 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008905/0.4195, allocations: 3.687 MB / 0.5464 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.422, allocations: 77.91 kB / 0.5465 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00767/0.4297, allocations: 3.885 MB / 0.5503 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.4328, allocations: 0.8629 MB / 0.5511 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.4351, allocations: 0.7122 MB / 0.5518 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004316/0.4394, allocations: 2.209 MB / 0.554 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007478/0.4469, allocations: 4.91 MB / 0.5588 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.45, allocations: 1.465 MB / 0.5602 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.4536, allocations: 1.893 MB / 0.5621 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.4551, allocations: 448 kB / 0.5625 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.4579, allocations: 1.03 MB / 0.5635 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002653/0.4606, allocations: 1.742 MB / 0.5652 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003415/0.464, allocations: 2.029 MB / 0.5672 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00947/0.4735, allocations: 6.906 MB / 0.5739 GB, free: 5.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4735, allocations: 0 / 0.5739 GB, free: 5.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.159e-06/0.4736, allocations: 8 kB / 0.5739 GB, free: 5.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002562/0.4738, allocations: 0 / 0.5739 GB, free: 5.172 MB / 430.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.01432/0.4882, allocations: 4.231 MB / 0.5781 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/0.4882, allocations: 8.031 kB / 0.5781 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002619/0.4909, allocations: 0.582 MB / 0.5786 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.4958, allocations: 0.6461 MB / 0.5793 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/0.5035, allocations: 2.154 MB / 0.5814 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.504, allocations: 238.4 kB / 0.5816 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.5058, allocations: 323.8 kB / 0.5819 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02977/0.5356, allocations: 8.202 MB / 0.5899 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001414/0.5358, allocations: 11.88 kB / 0.5899 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/0.5373, allocations: 135.9 kB / 0.5901 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/0.5401, allocations: 1.096 MB / 0.5911 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.5602, allocations: 6.712 MB / 0.5977 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04903/0.6092, allocations: 24.24 MB / 0.6214 GB, free: 3.602 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008857/0.6182, allocations: 1.985 MB / 0.6233 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.6203, allocations: 0.8997 MB / 0.6242 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.6324, allocations: 6.38 MB / 0.6304 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.6325, allocations: 39.22 kB / 0.6304 GB, free: 9.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 3.256e-06/0.6325, allocations: 0 / 0.6304 GB, free: 9.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=99): time 0.01841/0.6509, allocations: 5.897 MB / 0.6362 GB, free: 3.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.6511, allocations: 115.8 kB / 0.6363 GB, free: 3.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.6551, allocations: 2.438 MB / 0.6387 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002534/0.6554, allocations: 41.7 kB / 0.6387 GB, free: 1.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.6577, allocations: 2.251 MB / 0.6409 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005215/0.6583, allocations: 408.9 kB / 0.6413 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.6594, allocations: 0.7226 MB / 0.642 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6595, allocations: 313 kB / 0.6423 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.6612, allocations: 0.9673 MB / 0.6433 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004648/0.6659, allocations: 3.048 MB / 0.6462 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006578/0.6725, allocations: 4.352 MB / 0.6505 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.109e-05/0.6727, allocations: 24 kB / 0.6505 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.00841/0.6811, allocations: 3.943 MB / 0.6544 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.305e-05/0.6812, allocations: 40 kB / 0.6544 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.6813, allocations: 72 kB / 0.6545 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.6815, allocations: 96 kB / 0.6546 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.6842, allocations: 0.8032 MB / 0.6553 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001493/0.6843, allocations: 147.9 kB / 0.6555 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.6866, allocations: 175.8 kB / 0.6557 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004487/0.6871, allocations: 208 kB / 0.6559 GB, free: 13.49 MB / 0.5137 GB 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.002914/0.69, allocations: 1.591 MB / 0.6574 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/0.6905, allocations: 230.5 kB / 0.6576 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006644/0.6912, allocations: 254.2 kB / 0.6579 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6912, allocations: 8 kB / 0.6579 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.6912, allocations: 4 kB / 0.6579 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6912, allocations: 7.984 kB / 0.6579 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.7019, allocations: 5.859 MB / 0.6636 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.702, allocations: 20.22 kB / 0.6636 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/0.7027, allocations: 231.5 kB / 0.6638 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.918e-05/0.7028, allocations: 24 kB / 0.6639 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.519e-05/0.7028, allocations: 48 kB / 0.6639 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.94e-05/0.7029, allocations: 35.86 kB / 0.664 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.831e-05/0.7029, allocations: 35.81 kB / 0.664 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.7054, allocations: 1.971 MB / 0.6659 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/0.7061, allocations: 327.4 kB / 0.6662 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.7063, allocations: 47.98 kB / 0.6663 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/0.7071, allocations: 39.98 kB / 0.6663 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.7073, allocations: 143.3 kB / 0.6664 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/0.7074, allocations: 56 kB / 0.6665 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002647/0.7101, allocations: 1.602 MB / 0.6681 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7101, allocations: 0 / 0.6681 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003352/0.7134, allocations: 0.6054 MB / 0.6687 GB, free: 15.7 MB / 0.5294 GB 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.003408/0.7169, allocations: 2.61 MB / 0.6712 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004134/0.721, allocations: 2.282 MB / 0.6734 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.228e-05/0.7211, allocations: 12.06 kB / 0.6734 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009947/0.7221, allocations: 0.532 MB / 0.674 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.7246, allocations: 388.4 kB / 0.6743 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05859/0.7832, allocations: 26.4 MB / 0.7001 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007427/0.7908, allocations: 2.686 MB / 0.7027 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004494/0.7953, allocations: 0.8951 MB / 0.7036 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00359/0.799, allocations: 1.366 MB / 0.7049 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of SimCode: time 3.306e-06/0.799, allocations: 0 / 0.7049 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4013/1.2, allocations: 46.95 MB / 0.7508 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.49, allocations: 4.719 kB / 0.7508 GB, free: 170.9 MB / 0.5762 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