Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 114.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3251, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.0114/0.3366, allocations: 10.83 MB / 0.529 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00868/0.3453, allocations: 3.563 MB / 0.5325 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.3474, allocations: 59.28 kB / 0.5325 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00664/0.3541, allocations: 3.258 MB / 0.5357 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.357, allocations: 0.7861 MB / 0.5365 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.3596, allocations: 0.8197 MB / 0.5373 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.3636, allocations: 2.078 MB / 0.5393 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006078/0.3697, allocations: 3.994 MB / 0.5432 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.3727, allocations: 1.286 MB / 0.5445 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003162/0.3759, allocations: 1.687 MB / 0.5461 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001061/0.377, allocations: 348 kB / 0.5465 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.3796, allocations: 1.03 MB / 0.5475 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002068/0.3817, allocations: 1.536 MB / 0.549 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003082/0.3848, allocations: 1.764 MB / 0.5507 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007186/0.392, allocations: 5.829 MB / 0.5564 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.392, allocations: 3.938 kB / 0.5564 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.146e-05/0.392, allocations: 0 / 0.5564 GB, free: 5.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002168/0.3922, allocations: 0 / 0.5564 GB, free: 5.102 MB / 414.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.01119/0.4034, allocations: 3.881 MB / 0.5602 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.4035, allocations: 8.031 kB / 0.5602 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001767/0.4053, allocations: 0.541 MB / 0.5607 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/0.4084, allocations: 0.5779 MB / 0.5613 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005724/0.4142, allocations: 1.829 MB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.4144, allocations: 209.4 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.4155, allocations: 275.8 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.434, allocations: 8.16 MB / 0.5715 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.4341, allocations: 15.88 kB / 0.5715 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009993/0.4351, allocations: 123.9 kB / 0.5716 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001971/0.4371, allocations: 1.126 MB / 0.5727 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/0.4533, allocations: 6.936 MB / 0.5795 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/0.49, allocations: 24.64 MB / 0.6036 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007389/0.4974, allocations: 2.274 MB / 0.6058 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.4989, allocations: 1.085 MB / 0.6068 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.5094, allocations: 7.098 MB / 0.6138 GB, free: 8.668 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5095, allocations: 43.22 kB / 0.6138 GB, free: 8.617 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 2.975e-06/0.5095, allocations: 0 / 0.6138 GB, free: 8.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.01752/0.527, allocations: 5.377 MB / 0.6191 GB, free: 3.219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5271, allocations: 64.41 kB / 0.6191 GB, free: 3.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/0.5308, allocations: 2.4 MB / 0.6215 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.531, allocations: 41.7 kB / 0.6215 GB, free: 0.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.5326, allocations: 2.07 MB / 0.6235 GB, free: 14.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004302/0.533, allocations: 387.1 kB / 0.6239 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.5341, allocations: 0.7142 MB / 0.6246 GB, free: 13.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5342, allocations: 305.1 kB / 0.6249 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.5358, allocations: 1.026 MB / 0.6259 GB, free: 12.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/0.539, allocations: 3.186 MB / 0.629 GB, free: 7.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.5443, allocations: 4.569 MB / 0.6335 GB, free: 2.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.163e-05/0.5444, allocations: 20 kB / 0.6335 GB, free: 2.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007358/0.5518, allocations: 4.114 MB / 0.6375 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.5519, allocations: 38.81 kB / 0.6375 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/0.552, allocations: 76 kB / 0.6376 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.5522, allocations: 108 kB / 0.6377 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/0.5549, allocations: 0.8344 MB / 0.6385 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001543/0.5551, allocations: 155.4 kB / 0.6387 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.5573, allocations: 172 kB / 0.6388 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/0.5578, allocations: 224 kB / 0.6391 GB, free: 12.49 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.002474/0.5603, allocations: 1.422 MB / 0.6404 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005006/0.5608, allocations: 209.3 kB / 0.6406 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.5635, allocations: 1.414 MB / 0.642 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5635, allocations: 8 kB / 0.642 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.5635, allocations: 0 / 0.642 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5635, allocations: 3.984 kB / 0.642 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.5739, allocations: 5.218 MB / 0.6471 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/0.574, allocations: 19.98 kB / 0.6471 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/0.5749, allocations: 219.8 kB / 0.6474 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-05/0.5749, allocations: 20 kB / 0.6474 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-05/0.575, allocations: 40 kB / 0.6474 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.9e-05/0.575, allocations: 31.86 kB / 0.6474 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/0.5751, allocations: 19.94 kB / 0.6475 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.5775, allocations: 1.743 MB / 0.6492 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008077/0.5783, allocations: 294.2 kB / 0.6494 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/0.5788, allocations: 43.98 kB / 0.6495 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5798, allocations: 39.98 kB / 0.6495 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.58, allocations: 128.1 kB / 0.6496 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.04e-05/0.5801, allocations: 51.94 kB / 0.6497 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00278/0.5829, allocations: 1.53 MB / 0.6512 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5829, allocations: 0 / 0.6512 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003186/0.5861, allocations: 0.6015 MB / 0.6518 GB, free: 14.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * 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.003138/0.5892, allocations: 2.372 MB / 0.6541 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004004/0.5933, allocations: 2.4 MB / 0.6564 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.5933, allocations: 0 / 0.6564 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008109/0.5941, allocations: 0.5737 MB / 0.657 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.5962, allocations: 341.6 kB / 0.6573 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/0.6326, allocations: 25.33 MB / 0.6821 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/0.6359, allocations: 2.454 MB / 0.6845 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002485/0.6384, allocations: 0.9571 MB / 0.6854 GB, free: 9.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001887/0.6403, allocations: 1.245 MB / 0.6866 GB, free: 7.969 MB / 0.545 GB Notification: Performance of SimCode: time 9.11e-07/0.6404, allocations: 0 / 0.6866 GB, free: 7.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.314/0.9544, allocations: 44.39 MB / 0.73 GB, free: 183.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.65, allocations: 6.234 kB / 0.73 GB, free: 183.5 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches