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.001686/0.001687, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001878/0.001879, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2135/0.2135, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 67.89 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4201, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01159/0.4317, allocations: 10.84 MB / 0.529 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00835/0.4401, allocations: 3.57 MB / 0.5325 GB, free: 9.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.4425, allocations: 59.91 kB / 0.5326 GB, free: 9.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006625/0.4492, allocations: 3.25 MB / 0.5357 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.4523, allocations: 0.8306 MB / 0.5365 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.4545, allocations: 0.8184 MB / 0.5373 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.4579, allocations: 2.059 MB / 0.5394 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/0.4628, allocations: 4.01 MB / 0.5433 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.4655, allocations: 1.288 MB / 0.5445 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003174/0.4687, allocations: 1.683 MB / 0.5462 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007898/0.4695, allocations: 352 kB / 0.5465 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.4717, allocations: 1.026 MB / 0.5475 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.4736, allocations: 1.535 MB / 0.549 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002113/0.4757, allocations: 1.764 MB / 0.5507 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.483, allocations: 5.825 MB / 0.5564 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.483, allocations: 0 / 0.5564 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.97e-06/0.483, allocations: 4 kB / 0.5564 GB, free: 5.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001791/0.4832, allocations: 0 / 0.5564 GB, free: 5.07 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.009403/0.4926, allocations: 3.885 MB / 0.5602 GB, free: 1.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.4927, allocations: 8.031 kB / 0.5602 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008915/0.4936, allocations: 0.541 MB / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.4959, allocations: 0.5896 MB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.4997, allocations: 1.817 MB / 0.5631 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.4999, allocations: 209.4 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007933/0.5007, allocations: 279.8 kB / 0.5636 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/0.5178, allocations: 8.145 MB / 0.5715 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.08e-05/0.5179, allocations: 15.88 kB / 0.5715 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.5183, allocations: 127.9 kB / 0.5717 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/0.5199, allocations: 1.13 MB / 0.5728 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01589/0.5358, allocations: 6.944 MB / 0.5795 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03531/0.5712, allocations: 24.64 MB / 0.6036 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/0.5786, allocations: 2.262 MB / 0.6058 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.5802, allocations: 1.093 MB / 0.6069 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009635/0.5898, allocations: 7.098 MB / 0.6138 GB, free: 8.629 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5899, allocations: 39.22 kB / 0.6139 GB, free: 8.582 MB / 478.1 MB Notification: Performance of pre-optimization done (n=80): time 2.385e-06/0.5899, allocations: 0 / 0.6139 GB, free: 8.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.01725/0.6071, allocations: 5.377 MB / 0.6191 GB, free: 3.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.6072, allocations: 60.41 kB / 0.6192 GB, free: 3.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003856/0.6111, allocations: 2.408 MB / 0.6215 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.6114, allocations: 41.7 kB / 0.6216 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.613, allocations: 2.07 MB / 0.6236 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004668/0.6135, allocations: 387.1 kB / 0.624 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009728/0.6145, allocations: 0.7142 MB / 0.6246 GB, free: 13.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6146, allocations: 305.1 kB / 0.6249 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.6162, allocations: 1.022 MB / 0.6259 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.6194, allocations: 3.182 MB / 0.629 GB, free: 7.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005533/0.6249, allocations: 4.569 MB / 0.6335 GB, free: 2.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.458e-05/0.625, allocations: 24 kB / 0.6335 GB, free: 2.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007077/0.6321, allocations: 4.113 MB / 0.6375 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.187e-05/0.6322, allocations: 40 kB / 0.6376 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-05/0.6323, allocations: 76 kB / 0.6377 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.6324, allocations: 100 kB / 0.6378 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.635, allocations: 0.8389 MB / 0.6386 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/0.6352, allocations: 155.4 kB / 0.6387 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.6375, allocations: 175.8 kB / 0.6389 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/0.6378, allocations: 208 kB / 0.6391 GB, free: 12.46 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.002337/0.6402, allocations: 1.43 MB / 0.6405 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.6405, allocations: 205.3 kB / 0.6407 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.6428, allocations: 1.414 MB / 0.6421 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6428, allocations: 12 kB / 0.6421 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.6428, allocations: 0 / 0.6421 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6429, allocations: 7.969 kB / 0.6421 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008733/0.6516, allocations: 5.218 MB / 0.6472 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.6517, allocations: 12 kB / 0.6472 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/0.6524, allocations: 223.6 kB / 0.6474 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/0.6525, allocations: 20 kB / 0.6474 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-05/0.6526, allocations: 36 kB / 0.6475 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.411e-05/0.6526, allocations: 35.86 kB / 0.6475 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/0.6526, allocations: 23.88 kB / 0.6475 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.6548, allocations: 1.736 MB / 0.6492 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.6553, allocations: 294.3 kB / 0.6495 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.6555, allocations: 39.98 kB / 0.6495 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.6562, allocations: 51.97 kB / 0.6496 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.6563, allocations: 112.1 kB / 0.6497 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.6564, allocations: 51.92 kB / 0.6497 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00212/0.6585, allocations: 1.53 MB / 0.6512 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6585, allocations: 0 / 0.6512 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003117/0.6617, allocations: 0.6054 MB / 0.6518 GB, free: 14.88 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.002714/0.6644, allocations: 2.376 MB / 0.6541 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004038/0.6684, allocations: 2.396 MB / 0.6565 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/0.6685, allocations: 4.938 kB / 0.6565 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008279/0.6693, allocations: 0.5762 MB / 0.657 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.6711, allocations: 351 kB / 0.6574 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/0.7068, allocations: 25.32 MB / 0.6821 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002734/0.7096, allocations: 2.458 MB / 0.6845 GB, free: 10.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002336/0.712, allocations: 0.9571 MB / 0.6854 GB, free: 9.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/0.7137, allocations: 1.241 MB / 0.6867 GB, free: 7.926 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.7137, allocations: 0 / 0.6867 GB, free: 7.926 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3454/1.059, allocations: 43.92 MB / 0.7295 GB, free: 183 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.59, allocations: 4.812 kB / 0.7295 GB, free: 183 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