Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_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.001092/0.001093, allocations: 106.8 kB / 15.98 MB, free: 6.758 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.001172/0.001172, allocations: 195.6 kB / 16.91 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3642/0.3642, allocations: 43.5 MB / 313.6 MB, free: 8.508 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 70.56 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1344, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2906/0.425, allocations: 47.58 MB / 487.7 MB, free: 21.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.4458, allocations: 9.4 MB / 497.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.4578, allocations: 196 kB / 497.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005809/0.4637, allocations: 3.195 MB / 0.4887 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004129/0.4679, allocations: 0.8654 MB / 0.4896 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.4706, allocations: 0.7545 MB / 0.4903 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005285/0.4759, allocations: 2.418 MB / 0.4927 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0067/0.4826, allocations: 4.344 MB / 0.4969 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.4861, allocations: 1.431 MB / 0.4983 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.4899, allocations: 1.949 MB / 0.5002 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.4919, allocations: 368.8 kB / 0.5006 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.4951, allocations: 1.026 MB / 0.5016 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.498, allocations: 1.707 MB / 0.5032 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004014/0.502, allocations: 1.98 MB / 0.5052 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009874/0.5119, allocations: 6.262 MB / 0.5113 GB, free: 3.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.512, allocations: 4 kB / 0.5113 GB, free: 3.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.512, allocations: 0 / 0.5113 GB, free: 3.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002675/0.5123, allocations: 0 / 0.5113 GB, free: 3.965 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01428/0.5265, allocations: 4.308 MB / 0.5155 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.92e-05/0.5266, allocations: 13.48 kB / 0.5155 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001667/0.5283, allocations: 0.6289 MB / 0.5161 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002982/0.5313, allocations: 0.5869 MB / 0.5167 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/0.5356, allocations: 1.871 MB / 0.5185 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.5358, allocations: 240.2 kB / 0.5188 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.5364, allocations: 318.6 kB / 0.5191 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/0.5562, allocations: 9.206 MB / 0.5281 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.5563, allocations: 19.81 kB / 0.5281 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004232/0.5568, allocations: 135.9 kB / 0.5282 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/0.5595, allocations: 1.592 MB / 0.5298 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.5762, allocations: 7.457 MB / 0.537 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04595/0.6222, allocations: 27.99 MB / 0.5644 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008195/0.6305, allocations: 2.341 MB / 0.5667 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.6323, allocations: 1.096 MB / 0.5677 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.6441, allocations: 7.63 MB / 0.5752 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.6442, allocations: 43.16 kB / 0.5752 GB, free: 4.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.745e-06/0.6442, allocations: 0 / 0.5752 GB, free: 4.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.02374/0.6679, allocations: 7.168 MB / 0.5822 GB, free: 13.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.6681, allocations: 145.5 kB / 0.5824 GB, free: 13.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005381/0.6735, allocations: 2.659 MB / 0.585 GB, free: 10.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001633/0.6737, allocations: 41.7 kB / 0.585 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/0.6756, allocations: 2.426 MB / 0.5874 GB, free: 8.395 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/0.6762, allocations: 403.1 kB / 0.5878 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.6774, allocations: 0.7739 MB / 0.5885 GB, free: 7.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6776, allocations: 301.1 kB / 0.5888 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.6794, allocations: 1.085 MB / 0.5899 GB, free: 5.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003778/0.6832, allocations: 3.498 MB / 0.5933 GB, free: 1.137 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006247/0.6895, allocations: 4.97 MB / 0.5981 GB, free: 10.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.79e-05/0.6896, allocations: 24 kB / 0.5981 GB, free: 10.94 MB / 478.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.007672/0.6973, allocations: 4.462 MB / 0.6025 GB, free: 6.469 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.6974, allocations: 51.97 kB / 0.6026 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.6975, allocations: 88 kB / 0.6026 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.6977, allocations: 116 kB / 0.6027 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.7005, allocations: 0.9475 MB / 0.6037 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001372/0.7006, allocations: 167.4 kB / 0.6038 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/0.7034, allocations: 191.8 kB / 0.604 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003307/0.7037, allocations: 236 kB / 0.6042 GB, free: 4.688 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (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 (499): * Single equations (assignments): 499 * 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.003036/0.7068, allocations: 1.601 MB / 0.6058 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.7073, allocations: 236.9 kB / 0.606 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.7098, allocations: 1.389 MB / 0.6074 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.7098, allocations: 8 kB / 0.6074 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7098, allocations: 0 / 0.6074 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.7098, allocations: 11.97 kB / 0.6074 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.7214, allocations: 6.028 MB / 0.6133 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.7215, allocations: 12 kB / 0.6133 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.7223, allocations: 223.6 kB / 0.6135 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.953e-05/0.7224, allocations: 24.06 kB / 0.6135 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.7225, allocations: 43.83 kB / 0.6136 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.86e-05/0.7225, allocations: 31.86 kB / 0.6136 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/0.7226, allocations: 27.88 kB / 0.6136 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.7251, allocations: 1.792 MB / 0.6154 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000863/0.726, allocations: 318 kB / 0.6157 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/0.7266, allocations: 40 kB / 0.6157 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.728, allocations: 51.91 kB / 0.6158 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.7282, allocations: 124.1 kB / 0.6159 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.7283, allocations: 48 kB / 0.6159 GB, free: 8.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003755/0.7321, allocations: 1.696 MB / 0.6176 GB, free: 6.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7321, allocations: 0 / 0.6176 GB, free: 6.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004243/0.7363, allocations: 0.6718 MB / 0.6183 GB, free: 5.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.003237/0.7396, allocations: 2.451 MB / 0.6206 GB, free: 3.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004916/0.7445, allocations: 2.737 MB / 0.6233 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.7445, allocations: 4 kB / 0.6233 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.7454, allocations: 0.5775 MB / 0.6239 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.748, allocations: 331.8 kB / 0.6242 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2825/1.031, allocations: 32.71 MB / 0.6562 GB, free: 152.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/1.033, allocations: 2.743 MB / 0.6588 GB, free: 151.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002875/1.036, allocations: 1.039 MB / 0.6598 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.038, allocations: 1.464 MB / 0.6613 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/1.038, allocations: 0 / 0.6613 GB, free: 150.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/1.181, allocations: 47.32 MB / 0.7075 GB, free: 125 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.181, allocations: 192.3 kB / 0.7077 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.517/4.697, allocations: 3.75 kB / 0.7077 GB, free: 124.7 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSR/JointUSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches