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.001441/0.001441, allocations: 104.7 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 46.12 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 80.36 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 62.44 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2529/0.3621, allocations: 45.49 MB / 0.5128 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02311/0.3853, allocations: 9.195 MB / 0.5218 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01223/0.3976, allocations: 191.3 kB / 0.5219 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007127/0.4047, allocations: 3.139 MB / 0.525 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.408, allocations: 0.7126 MB / 0.5257 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.4105, allocations: 0.7689 MB / 0.5265 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.4138, allocations: 2.069 MB / 0.5285 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004932/0.4188, allocations: 4.194 MB / 0.5326 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.4207, allocations: 1.304 MB / 0.5338 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.4226, allocations: 1.813 MB / 0.5356 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.4232, allocations: 350.8 kB / 0.5359 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.4248, allocations: 1.055 MB / 0.537 GB, free: 3.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.4259, allocations: 1.534 MB / 0.5385 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.4272, allocations: 1.76 MB / 0.5402 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.4327, allocations: 5.74 MB / 0.5458 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4328, allocations: 3.938 kB / 0.5458 GB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4328, allocations: 3.938 kB / 0.5458 GB, free: 12.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001562/0.4329, allocations: 0 / 0.5458 GB, free: 12.78 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.009711/0.4426, allocations: 3.897 MB / 0.5496 GB, free: 9.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.4427, allocations: 8.031 kB / 0.5496 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000927/0.4436, allocations: 0.5389 MB / 0.5501 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.4461, allocations: 0.5882 MB / 0.5507 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/0.45, allocations: 1.796 MB / 0.5525 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.4501, allocations: 205.7 kB / 0.5527 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006702/0.4508, allocations: 273.5 kB / 0.5529 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.4695, allocations: 8.175 MB / 0.5609 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.665e-05/0.4697, allocations: 11.88 kB / 0.5609 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008511/0.4705, allocations: 122.8 kB / 0.561 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/0.4723, allocations: 1.135 MB / 0.5622 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.4891, allocations: 6.944 MB / 0.5689 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03938/0.5285, allocations: 24.78 MB / 0.5931 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008719/0.5372, allocations: 2.273 MB / 0.5954 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.5389, allocations: 1.085 MB / 0.5964 GB, free: 9.211 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0105/0.5494, allocations: 7.177 MB / 0.6034 GB, free: 1.492 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.5495, allocations: 43.22 kB / 0.6035 GB, free: 1.441 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 5.079e-06/0.5496, allocations: 0 / 0.6035 GB, free: 1.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01876/0.5683, allocations: 5.413 MB / 0.6087 GB, free: 12.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.5684, allocations: 68.41 kB / 0.6088 GB, free: 11.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/0.5723, allocations: 2.392 MB / 0.6111 GB, free: 9.516 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.834e-05/0.5724, allocations: 41.7 kB / 0.6112 GB, free: 9.469 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.5738, allocations: 2.068 MB / 0.6132 GB, free: 7.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.5741, allocations: 383.2 kB / 0.6136 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009372/0.5751, allocations: 0.7181 MB / 0.6143 GB, free: 6.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5752, allocations: 301.1 kB / 0.6146 GB, free: 6.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.5768, allocations: 1.038 MB / 0.6156 GB, free: 4.965 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/0.5798, allocations: 3.189 MB / 0.6187 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005122/0.585, allocations: 4.569 MB / 0.6232 GB, free: 11.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-05/0.585, allocations: 20 kB / 0.6232 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007382/0.5924, allocations: 4.117 MB / 0.6272 GB, free: 6.914 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.654e-05/0.5925, allocations: 36.94 kB / 0.6272 GB, free: 6.879 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.5927, allocations: 83.94 kB / 0.6273 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.5928, allocations: 100 kB / 0.6274 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.5956, allocations: 0.8461 MB / 0.6282 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001432/0.5957, allocations: 151.4 kB / 0.6284 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.5984, allocations: 179.8 kB / 0.6285 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/0.5988, allocations: 208 kB / 0.6287 GB, free: 5.324 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.002495/0.6013, allocations: 1.434 MB / 0.6301 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.6018, allocations: 209.3 kB / 0.6303 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.6043, allocations: 1.414 MB / 0.6317 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.6043, allocations: 8 kB / 0.6317 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6043, allocations: 0 / 0.6317 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6043, allocations: 7.984 kB / 0.6317 GB, free: 2.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009518/0.6138, allocations: 5.277 MB / 0.6369 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/0.6139, allocations: 20 kB / 0.6369 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.6147, allocations: 223.6 kB / 0.6371 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/0.6147, allocations: 20 kB / 0.6371 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.6148, allocations: 36 kB / 0.6372 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-05/0.6148, allocations: 31.86 kB / 0.6372 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/0.6149, allocations: 19.94 kB / 0.6372 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.617, allocations: 1.756 MB / 0.6389 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.6175, allocations: 294.2 kB / 0.6392 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.6179, allocations: 43.98 kB / 0.6393 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/0.6187, allocations: 47.97 kB / 0.6393 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.6189, allocations: 124 kB / 0.6394 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.619, allocations: 48 kB / 0.6395 GB, free: 9.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002259/0.6212, allocations: 1.529 MB / 0.641 GB, free: 8.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6212, allocations: 0 / 0.641 GB, free: 8.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0027/0.624, allocations: 0.5859 MB / 0.6415 GB, free: 7.664 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.002602/0.6266, allocations: 2.38 MB / 0.6439 GB, free: 5.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004583/0.6312, allocations: 2.604 MB / 0.6464 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.6312, allocations: 4.062 kB / 0.6464 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.6319, allocations: 0.5718 MB / 0.647 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.6338, allocations: 370.6 kB / 0.6473 GB, free: 1.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/0.6785, allocations: 29.18 MB / 0.6758 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004459/0.683, allocations: 2.454 MB / 0.6782 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003068/0.6861, allocations: 0.9493 MB / 0.6791 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/0.6882, allocations: 1.233 MB / 0.6803 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of SimCode: time 2.996e-06/0.6882, allocations: 0 / 0.6803 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2889/0.9771, allocations: 44.05 MB / 0.7234 GB, free: 197.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000136/0.9773, allocations: 191.7 kB / 0.7235 GB, free: 197.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/4.088, allocations: 1.375 kB / 0.7235 GB, free: 197.5 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