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.0008874/0.0008874, allocations: 97.11 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.001187/0.001187, allocations: 206.6 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.391/1.391, allocations: 227.8 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1892/0.1892, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003123, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 63.56 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2741/0.3885, allocations: 44.28 MB / 0.5151 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0217/0.4102, allocations: 9.216 MB / 0.5241 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008873/0.4192, allocations: 186.3 kB / 0.5243 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.4204, allocations: 286.2 kB / 0.5245 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.4229, allocations: 0.7353 MB / 0.5253 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.4254, allocations: 0.7561 MB / 0.526 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00464/0.43, allocations: 3.322 MB / 0.5292 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008428/0.4385, allocations: 5.819 MB / 0.5349 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.4405, allocations: 0.8233 MB / 0.5357 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002718/0.4433, allocations: 1.34 MB / 0.537 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006077/0.4439, allocations: 124.7 kB / 0.5372 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.4461, allocations: 0.887 MB / 0.538 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001483/0.4476, allocations: 1.23 MB / 0.5392 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.4497, allocations: 1.448 MB / 0.5406 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006001/0.4557, allocations: 5.426 MB / 0.5459 GB, free: 14.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4557, allocations: 0 / 0.5459 GB, free: 14.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4557, allocations: 3.938 kB / 0.5459 GB, free: 14.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002643/0.456, allocations: 0 / 0.5459 GB, free: 14.16 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.008425/0.4645, allocations: 3.235 MB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4645, allocations: 15.41 kB / 0.5491 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001496/0.466, allocations: 0.5397 MB / 0.5496 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.4688, allocations: 0.5892 MB / 0.5502 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/0.4727, allocations: 1.796 MB / 0.552 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.4729, allocations: 210.6 kB / 0.5522 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009138/0.4738, allocations: 275.5 kB / 0.5524 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.4926, allocations: 8.194 MB / 0.5604 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.4927, allocations: 15.88 kB / 0.5605 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008709/0.4936, allocations: 124 kB / 0.5606 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/0.4954, allocations: 1.129 MB / 0.5617 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02329/0.5187, allocations: 6.976 MB / 0.5685 GB, free: 8.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.5658, allocations: 24.77 MB / 0.5927 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007818/0.5737, allocations: 2.284 MB / 0.5949 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.5754, allocations: 1.081 MB / 0.596 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.5862, allocations: 7.189 MB / 0.603 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5863, allocations: 47.16 kB / 0.603 GB, free: 3.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.596e-06/0.5863, allocations: 0 / 0.603 GB, free: 3.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01862/0.6049, allocations: 5.41 MB / 0.6083 GB, free: 14.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.605, allocations: 68.39 kB / 0.6084 GB, free: 14.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/0.6096, allocations: 2.392 MB / 0.6107 GB, free: 12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.6097, allocations: 41.7 kB / 0.6108 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.6113, allocations: 2.065 MB / 0.6128 GB, free: 9.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.6117, allocations: 384.8 kB / 0.6131 GB, free: 9.508 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.6122, allocations: 329.2 kB / 0.6135 GB, free: 9.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6123, allocations: 301.1 kB / 0.6137 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.6142, allocations: 1.038 MB / 0.6148 GB, free: 7.844 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/0.6175, allocations: 3.186 MB / 0.6179 GB, free: 3.586 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00549/0.6231, allocations: 4.58 MB / 0.6223 GB, free: 13.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.345e-05/0.6231, allocations: 20 kB / 0.6224 GB, free: 13.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.006886/0.63, allocations: 4.114 MB / 0.6264 GB, free: 9.789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.6301, allocations: 36 kB / 0.6264 GB, free: 9.754 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.6302, allocations: 80 kB / 0.6265 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001098/0.6304, allocations: 100 kB / 0.6266 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/0.6329, allocations: 0.8461 MB / 0.6274 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001371/0.633, allocations: 151.4 kB / 0.6276 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.6352, allocations: 180.1 kB / 0.6277 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.6355, allocations: 216 kB / 0.6279 GB, free: 8.195 MB / 478.1 MB 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.002284/0.6378, allocations: 1.418 MB / 0.6293 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.6382, allocations: 213.2 kB / 0.6295 GB, free: 6.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.6407, allocations: 1.418 MB / 0.6309 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.6408, allocations: 8 kB / 0.6309 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6408, allocations: 0 / 0.6309 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.6408, allocations: 3.984 kB / 0.6309 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009253/0.65, allocations: 5.273 MB / 0.6361 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.814e-05/0.6501, allocations: 19.94 kB / 0.6361 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.6509, allocations: 223.6 kB / 0.6363 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.492e-05/0.651, allocations: 20.78 kB / 0.6363 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.651, allocations: 40 kB / 0.6364 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.029e-05/0.6511, allocations: 31.92 kB / 0.6364 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.239e-05/0.6511, allocations: 23.88 kB / 0.6364 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.6534, allocations: 1.744 MB / 0.6381 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006479/0.6541, allocations: 298.2 kB / 0.6384 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/0.6545, allocations: 43.98 kB / 0.6384 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/0.6554, allocations: 51.97 kB / 0.6385 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.6556, allocations: 124 kB / 0.6386 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.6556, allocations: 48 kB / 0.6386 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002682/0.6583, allocations: 1.522 MB / 0.6401 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6583, allocations: 3.938 kB / 0.6401 GB, free: 11.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003068/0.6614, allocations: 0.5937 MB / 0.6407 GB, free: 10.55 MB / 494.1 MB 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.003024/0.6645, allocations: 2.385 MB / 0.643 GB, free: 7.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.6689, allocations: 2.361 MB / 0.6454 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.6689, allocations: 4 kB / 0.6454 GB, free: 5.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009018/0.6698, allocations: 0.5658 MB / 0.6459 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006419/0.6762, allocations: 351 kB / 0.6462 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04896/0.7252, allocations: 29.21 MB / 0.6748 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003538/0.7288, allocations: 2.454 MB / 0.6772 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002951/0.7318, allocations: 0.9571 MB / 0.6781 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/0.7336, allocations: 1.237 MB / 0.6793 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.7336, allocations: 0 / 0.6793 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2999/1.034, allocations: 42.82 MB / 0.7211 GB, free: 198.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.034, allocations: 190.6 kB / 0.7213 GB, free: 198.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.898, allocations: 0 / 0.7213 GB, free: 198.1 MB / 0.545 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