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.00125/0.00125, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2367/0.2367, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 75.53 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1351, allocations: 62.44 MB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3144/0.4495, allocations: 45.5 MB / 0.5126 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02184/0.4714, allocations: 9.262 MB / 0.5216 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01238/0.4838, allocations: 191.7 kB / 0.5218 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007376/0.4912, allocations: 3.26 MB / 0.525 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003227/0.4946, allocations: 0.7394 MB / 0.5257 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.4967, allocations: 0.7388 MB / 0.5264 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.501, allocations: 3.324 MB / 0.5297 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004494/0.5055, allocations: 3.941 MB / 0.5335 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.5072, allocations: 1.136 MB / 0.5346 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.5091, allocations: 1.744 MB / 0.5363 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004018/0.5096, allocations: 250.2 kB / 0.5366 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.5117, allocations: 1.017 MB / 0.5376 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.5128, allocations: 1.434 MB / 0.539 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.5141, allocations: 1.648 MB / 0.5406 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.5191, allocations: 5.633 MB / 0.5461 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5191, allocations: 7.875 kB / 0.5461 GB, free: 12.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5191, allocations: 0 / 0.5461 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000117/0.5192, allocations: 0 / 0.5461 GB, free: 12.57 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.009202/0.5284, allocations: 3.903 MB / 0.5499 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.5285, allocations: 8.875 kB / 0.5499 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009258/0.5295, allocations: 0.541 MB / 0.5504 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.5318, allocations: 0.5779 MB / 0.551 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/0.5352, allocations: 1.806 MB / 0.5528 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.5354, allocations: 205.7 kB / 0.553 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/0.5358, allocations: 273.5 kB / 0.5532 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.5528, allocations: 8.165 MB / 0.5612 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-05/0.553, allocations: 15.81 kB / 0.5612 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003135/0.5533, allocations: 128.6 kB / 0.5613 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001681/0.555, allocations: 1.131 MB / 0.5624 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.5712, allocations: 6.949 MB / 0.5692 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0346/0.6059, allocations: 24.77 MB / 0.5934 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007826/0.6137, allocations: 2.279 MB / 0.5956 GB, free: 9.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.6154, allocations: 1.081 MB / 0.5967 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00978/0.6252, allocations: 7.19 MB / 0.6037 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.6252, allocations: 43.22 kB / 0.6038 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 4.499e-06/0.6252, allocations: 0 / 0.6038 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01778/0.643, allocations: 5.417 MB / 0.609 GB, free: 11.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.6431, allocations: 64.41 kB / 0.6091 GB, free: 11.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003041/0.6461, allocations: 2.392 MB / 0.6114 GB, free: 8.887 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.6462, allocations: 41.7 kB / 0.6115 GB, free: 8.84 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.6475, allocations: 2.066 MB / 0.6135 GB, free: 6.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.6478, allocations: 379.2 kB / 0.6139 GB, free: 6.402 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008424/0.6487, allocations: 0.7181 MB / 0.6146 GB, free: 5.676 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6488, allocations: 309.1 kB / 0.6149 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.6503, allocations: 1.026 MB / 0.6159 GB, free: 4.344 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/0.6532, allocations: 3.189 MB / 0.619 GB, free: 80 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/0.6581, allocations: 4.576 MB / 0.6234 GB, free: 10.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.134e-05/0.6581, allocations: 24 kB / 0.6235 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.005907/0.664, allocations: 4.114 MB / 0.6275 GB, free: 6.281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.6641, allocations: 36 kB / 0.6275 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-05/0.6642, allocations: 76 kB / 0.6276 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-05/0.6643, allocations: 104 kB / 0.6277 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.6669, allocations: 0.8388 MB / 0.6285 GB, free: 5.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/0.667, allocations: 151.4 kB / 0.6287 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.6692, allocations: 191.8 kB / 0.6288 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.6695, allocations: 208 kB / 0.629 GB, free: 4.691 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.002029/0.6715, allocations: 1.426 MB / 0.6304 GB, free: 3.254 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.6718, allocations: 209.3 kB / 0.6306 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.6741, allocations: 1.414 MB / 0.632 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6742, allocations: 12 kB / 0.632 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6742, allocations: 0 / 0.632 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.6742, allocations: 3.984 kB / 0.632 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007782/0.682, allocations: 5.276 MB / 0.6372 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.682, allocations: 16.22 kB / 0.6372 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/0.6828, allocations: 231.6 kB / 0.6374 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-05/0.6828, allocations: 20 kB / 0.6374 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/0.6829, allocations: 40 kB / 0.6375 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/0.6829, allocations: 27.92 kB / 0.6375 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/0.683, allocations: 23.88 kB / 0.6375 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6851, allocations: 1.748 MB / 0.6392 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.6856, allocations: 302.2 kB / 0.6395 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.6859, allocations: 39.98 kB / 0.6396 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/0.6866, allocations: 47.97 kB / 0.6396 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.6867, allocations: 116 kB / 0.6397 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.6868, allocations: 52 kB / 0.6398 GB, free: 9.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002105/0.6889, allocations: 1.537 MB / 0.6413 GB, free: 7.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6889, allocations: 0 / 0.6413 GB, free: 7.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002897/0.6918, allocations: 0.5859 MB / 0.6418 GB, free: 7.031 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.002707/0.6945, allocations: 2.38 MB / 0.6442 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004003/0.6985, allocations: 2.357 MB / 0.6465 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.6986, allocations: 4 kB / 0.6465 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.6994, allocations: 0.5653 MB / 0.647 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.7013, allocations: 335.8 kB / 0.6473 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/0.7424, allocations: 29.19 MB / 0.6758 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.7449, allocations: 2.45 MB / 0.6782 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002629/0.7476, allocations: 0.9649 MB / 0.6792 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/0.7491, allocations: 1.237 MB / 0.6804 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.7492, allocations: 0 / 0.6804 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3191/1.068, allocations: 43.28 MB / 0.7227 GB, free: 193.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/1.068, allocations: 191.6 kB / 0.7228 GB, free: 193.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.932, allocations: 5.312 kB / 0.7228 GB, free: 193.6 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