Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001595/0.001595, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001947/0.001947, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.9 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.2227/0.2227, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001672, allocations: 79.86 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3518, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01295/0.3648, allocations: 10.81 MB / 0.5411 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009377/0.3742, allocations: 3.62 MB / 0.5446 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.3769, allocations: 59.75 kB / 0.5447 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007115/0.384, allocations: 3.245 MB / 0.5478 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.3873, allocations: 0.7862 MB / 0.5486 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.3902, allocations: 0.8226 MB / 0.5494 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.3943, allocations: 2.062 MB / 0.5514 GB, free: 12.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005847/0.4001, allocations: 4 MB / 0.5553 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.4032, allocations: 1.27 MB / 0.5566 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.4067, allocations: 1.683 MB / 0.5582 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.4079, allocations: 352 kB / 0.5586 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.4109, allocations: 1.049 MB / 0.5596 GB, free: 3.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.4134, allocations: 1.528 MB / 0.5611 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003351/0.4168, allocations: 1.756 MB / 0.5628 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008299/0.4251, allocations: 5.821 MB / 0.5685 GB, free: 10.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4251, allocations: 4 kB / 0.5685 GB, free: 10.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4251, allocations: 4 kB / 0.5685 GB, free: 10.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002507/0.4254, allocations: 0 / 0.5685 GB, free: 10.75 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01193/0.4373, allocations: 3.889 MB / 0.5723 GB, free: 6.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4374, allocations: 8.031 kB / 0.5723 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001487/0.4389, allocations: 0.541 MB / 0.5728 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.4416, allocations: 0.5856 MB / 0.5734 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.4456, allocations: 1.817 MB / 0.5752 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4458, allocations: 213.4 kB / 0.5754 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007765/0.4466, allocations: 271.9 kB / 0.5756 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.4621, allocations: 8.168 MB / 0.5836 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/0.4623, allocations: 19.81 kB / 0.5836 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004377/0.4627, allocations: 127.9 kB / 0.5837 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00142/0.4641, allocations: 1.134 MB / 0.5848 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.4781, allocations: 6.944 MB / 0.5916 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03101/0.5092, allocations: 24.62 MB / 0.6157 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007673/0.5169, allocations: 2.289 MB / 0.6179 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.5185, allocations: 1.089 MB / 0.619 GB, free: 5.953 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00948/0.528, allocations: 7.177 MB / 0.626 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5281, allocations: 51.16 kB / 0.626 GB, free: 14.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=80): time 3.597e-06/0.5281, allocations: 0 / 0.626 GB, free: 14.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.0184/0.5465, allocations: 5.408 MB / 0.6313 GB, free: 8.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.5466, allocations: 60.41 kB / 0.6314 GB, free: 8.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.5507, allocations: 2.392 MB / 0.6337 GB, free: 6.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.5509, allocations: 41.7 kB / 0.6337 GB, free: 6.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.5526, allocations: 2.07 MB / 0.6358 GB, free: 4.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.553, allocations: 387.1 kB / 0.6361 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/0.5542, allocations: 0.7142 MB / 0.6368 GB, free: 2.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5543, allocations: 305.1 kB / 0.6371 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.556, allocations: 1.03 MB / 0.6381 GB, free: 1.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/0.5593, allocations: 3.197 MB / 0.6412 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005428/0.5647, allocations: 4.569 MB / 0.6457 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.609e-05/0.5648, allocations: 24 kB / 0.6457 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007497/0.5723, allocations: 4.114 MB / 0.6497 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.5725, allocations: 38.19 kB / 0.6498 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.5726, allocations: 84.12 kB / 0.6499 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.5728, allocations: 100 kB / 0.65 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.5753, allocations: 0.8383 MB / 0.6508 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001397/0.5755, allocations: 151.4 kB / 0.6509 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.5776, allocations: 179.8 kB / 0.6511 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/0.5779, allocations: 212 kB / 0.6513 GB, free: 1.977 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 349 * Number of states: 0 () * Number of discrete variables: 53 (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,jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (452): * Single equations (assignments): 452 * 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 prepare postOptimizeDAE: time 0.00229/0.5802, allocations: 1.434 MB / 0.6527 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.5807, allocations: 213.2 kB / 0.6529 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.5832, allocations: 1.414 MB / 0.6543 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5833, allocations: 8 kB / 0.6543 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.5833, allocations: 4 kB / 0.6543 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.5833, allocations: 7.922 kB / 0.6543 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009443/0.5927, allocations: 5.272 MB / 0.6594 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/0.5928, allocations: 16 kB / 0.6595 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007479/0.5935, allocations: 219.6 kB / 0.6597 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.437e-05/0.5936, allocations: 20 kB / 0.6597 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.5937, allocations: 43.98 kB / 0.6597 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.5937, allocations: 23.94 kB / 0.6598 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.5937, allocations: 31.8 kB / 0.6598 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.5959, allocations: 1.741 MB / 0.6615 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/0.5966, allocations: 298.2 kB / 0.6618 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.5969, allocations: 39.98 kB / 0.6618 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/0.5978, allocations: 43.98 kB / 0.6618 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5979, allocations: 128 kB / 0.662 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.5981, allocations: 48 kB / 0.662 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00249/0.6006, allocations: 1.525 MB / 0.6635 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6006, allocations: 0 / 0.6635 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002943/0.6035, allocations: 0.5937 MB / 0.6641 GB, free: 4.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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 (121): * Single equations (assignments): 121 * 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.002853/0.6064, allocations: 2.374 MB / 0.6664 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004068/0.6105, allocations: 2.397 MB / 0.6687 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/0.6105, allocations: 8.25 kB / 0.6688 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/0.6114, allocations: 0.5684 MB / 0.6693 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.6136, allocations: 363.3 kB / 0.6697 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04467/0.6582, allocations: 25.36 MB / 0.6944 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004059/0.6624, allocations: 2.454 MB / 0.6968 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002778/0.6652, allocations: 0.961 MB / 0.6978 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/0.6676, allocations: 1.237 MB / 0.699 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of SimCode: time 4.098e-06/0.6676, allocations: 0 / 0.699 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3654/1.033, allocations: 44.07 MB / 0.742 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.64, allocations: 2.531 kB / 0.742 GB, free: 181.6 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches