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.001673/0.001673, allocations: 103.2 kB / 17.32 MB, free: 6.027 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.001973/0.001973, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.442/1.442, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2438/0.2438, allocations: 44.17 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 61.03 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.04736/0.1772, allocations: 45.81 MB / 0.5026 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.302/0.4792, allocations: 9.244 MB / 0.5116 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.4899, allocations: 188.1 kB / 0.5118 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006407/0.4964, allocations: 3.16 MB / 0.5149 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.4994, allocations: 0.7196 MB / 0.5156 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.5022, allocations: 0.7635 MB / 0.5163 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003404/0.5056, allocations: 2.077 MB / 0.5183 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007252/0.5129, allocations: 4.195 MB / 0.5224 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.5165, allocations: 1.308 MB / 0.5237 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.5198, allocations: 1.813 MB / 0.5255 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000771/0.5206, allocations: 351 kB / 0.5258 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.5227, allocations: 1.038 MB / 0.5268 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.524, allocations: 1.545 MB / 0.5283 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001702/0.5257, allocations: 1.771 MB / 0.5301 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0065/0.5322, allocations: 5.729 MB / 0.5357 GB, free: 15.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.5323, allocations: 0 / 0.5357 GB, free: 15.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.424e-05/0.5323, allocations: 0 / 0.5357 GB, free: 15.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001854/0.5325, allocations: 6.031 kB / 0.5357 GB, free: 15.64 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.01099/0.5435, allocations: 3.894 MB / 0.5395 GB, free: 12.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5436, allocations: 13.58 kB / 0.5395 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009576/0.5445, allocations: 0.5363 MB / 0.54 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.5469, allocations: 0.5875 MB / 0.5406 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.5503, allocations: 1.801 MB / 0.5423 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.5505, allocations: 212.4 kB / 0.5425 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005405/0.5511, allocations: 272.6 kB / 0.5428 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01714/0.5682, allocations: 8.154 MB / 0.5508 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-05/0.5683, allocations: 19.88 kB / 0.5508 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000805/0.5691, allocations: 124.8 kB / 0.5509 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/0.5709, allocations: 1.131 MB / 0.552 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.5874, allocations: 6.941 MB / 0.5588 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0388/0.6262, allocations: 24.77 MB / 0.583 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/0.6341, allocations: 2.268 MB / 0.5852 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.6357, allocations: 1.085 MB / 0.5863 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01027/0.646, allocations: 7.096 MB / 0.5932 GB, free: 6.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.6461, allocations: 39.22 kB / 0.5932 GB, free: 6.426 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 5.009e-06/0.6461, allocations: 3.984 kB / 0.5932 GB, free: 6.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01887/0.665, allocations: 5.37 MB / 0.5985 GB, free: 1.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.6651, allocations: 60.41 kB / 0.5985 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004559/0.6697, allocations: 2.408 MB / 0.6009 GB, free: 14.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.6699, allocations: 45.7 kB / 0.6009 GB, free: 14.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.6717, allocations: 2.066 MB / 0.6029 GB, free: 12.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.6722, allocations: 387.8 kB / 0.6033 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001259/0.6735, allocations: 0.7103 MB / 0.604 GB, free: 11.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6736, allocations: 305.1 kB / 0.6043 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.6753, allocations: 1.026 MB / 0.6053 GB, free: 9.988 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.6787, allocations: 3.182 MB / 0.6084 GB, free: 5.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005743/0.6845, allocations: 4.565 MB / 0.6129 GB, free: 96 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.606e-05/0.6846, allocations: 24 kB / 0.6129 GB, free: 72 kB / 462.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.007526/0.6921, allocations: 4.114 MB / 0.6169 GB, free: 11.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.6922, allocations: 39.94 kB / 0.6169 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.6923, allocations: 80 kB / 0.617 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.6925, allocations: 100.8 kB / 0.6171 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.6952, allocations: 0.8422 MB / 0.6179 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/0.6954, allocations: 147.4 kB / 0.6181 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.6979, allocations: 179.8 kB / 0.6182 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/0.6983, allocations: 208 kB / 0.6184 GB, free: 10.36 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.0026/0.701, allocations: 1.426 MB / 0.6198 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.7014, allocations: 209.2 kB / 0.62 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.7039, allocations: 1.41 MB / 0.6214 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.704, allocations: 12 kB / 0.6214 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.704, allocations: 4 kB / 0.6214 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.704, allocations: 7.922 kB / 0.6214 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/0.7136, allocations: 5.226 MB / 0.6265 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/0.7137, allocations: 16 kB / 0.6266 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.7145, allocations: 215.6 kB / 0.6268 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.669e-05/0.7146, allocations: 20.81 kB / 0.6268 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-05/0.7147, allocations: 47.81 kB / 0.6268 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/0.7147, allocations: 27.94 kB / 0.6269 GB, free: 1.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/0.7147, allocations: 19.88 kB / 0.6269 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.7169, allocations: 1.747 MB / 0.6286 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006553/0.7176, allocations: 294.2 kB / 0.6289 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.718, allocations: 43.98 kB / 0.6289 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.7189, allocations: 43.97 kB / 0.6289 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7191, allocations: 120.1 kB / 0.6291 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.7192, allocations: 44 kB / 0.6291 GB, free: 14.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002405/0.7216, allocations: 1.53 MB / 0.6306 GB, free: 13.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7216, allocations: 0 / 0.6306 GB, free: 13.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003663/0.7253, allocations: 0.6016 MB / 0.6312 GB, free: 12.8 MB / 494.1 MB 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.00304/0.7283, allocations: 2.382 MB / 0.6335 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004293/0.7326, allocations: 2.619 MB / 0.6361 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.7326, allocations: 4 kB / 0.6361 GB, free: 7.605 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.7334, allocations: 0.5718 MB / 0.6366 GB, free: 7.031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.7354, allocations: 353.1 kB / 0.637 GB, free: 6.695 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05429/0.7897, allocations: 29.17 MB / 0.6654 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/0.7935, allocations: 2.458 MB / 0.6678 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002852/0.7964, allocations: 0.9455 MB / 0.6688 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/0.7984, allocations: 1.241 MB / 0.67 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of SimCode: time 9.51e-07/0.7984, allocations: 0 / 0.67 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3606/1.159, allocations: 44.35 MB / 0.7133 GB, free: 211.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/1.159, allocations: 206.4 kB / 0.7135 GB, free: 211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/4.334, allocations: 1.125 kB / 0.7135 GB, free: 211 MB / 0.545 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