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.001141/0.001141, allocations: 108.3 kB / 17.21 MB, free: 6.293 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.001052/0.001053, allocations: 194 kB / 18.12 MB, free: 5.383 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.356/1.356, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2378/0.2378, allocations: 44.17 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.16 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.04486/0.1737, allocations: 45.8 MB / 0.5024 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.295/0.4688, allocations: 9.323 MB / 0.5115 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01249/0.4813, allocations: 188.7 kB / 0.5117 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006761/0.4881, allocations: 3.28 MB / 0.5149 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.491, allocations: 0.7384 MB / 0.5156 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.4935, allocations: 0.7385 MB / 0.5163 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005542/0.499, allocations: 3.34 MB / 0.5196 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004852/0.5039, allocations: 3.941 MB / 0.5234 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.5058, allocations: 1.14 MB / 0.5245 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.5077, allocations: 1.746 MB / 0.5262 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.5082, allocations: 250.7 kB / 0.5265 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.5102, allocations: 0.991 MB / 0.5274 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.5117, allocations: 1.447 MB / 0.5289 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.5136, allocations: 1.664 MB / 0.5305 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.5188, allocations: 5.632 MB / 0.536 GB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.5188, allocations: 2.125 kB / 0.536 GB, free: 15.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.5189, allocations: 0 / 0.536 GB, free: 15.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.519, allocations: 0 / 0.536 GB, free: 15.56 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.008856/0.5278, allocations: 3.892 MB / 0.5398 GB, free: 12.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.5279, allocations: 13 kB / 0.5398 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008459/0.5288, allocations: 0.5328 MB / 0.5403 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.5312, allocations: 0.5879 MB / 0.5409 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/0.5349, allocations: 1.803 MB / 0.5426 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.5352, allocations: 213.3 kB / 0.5428 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/0.5357, allocations: 278.2 kB / 0.5431 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.5538, allocations: 8.147 MB / 0.5511 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/0.5539, allocations: 15.88 kB / 0.5511 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/0.5542, allocations: 118.3 kB / 0.5512 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001669/0.5559, allocations: 1.134 MB / 0.5523 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.572, allocations: 6.949 MB / 0.5591 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03843/0.6105, allocations: 24.76 MB / 0.5833 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007849/0.6184, allocations: 2.276 MB / 0.5855 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.62, allocations: 1.085 MB / 0.5866 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.6301, allocations: 7.102 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.6302, allocations: 43.22 kB / 0.5935 GB, free: 5.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 2.405e-06/0.6302, allocations: 0 / 0.5935 GB, free: 5.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01783/0.648, allocations: 5.366 MB / 0.5988 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6481, allocations: 64.34 kB / 0.5988 GB, free: 496 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.6521, allocations: 2.405 MB / 0.6012 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.6522, allocations: 41.7 kB / 0.6012 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.6537, allocations: 2.067 MB / 0.6032 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.654, allocations: 383.3 kB / 0.6036 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.6551, allocations: 0.7181 MB / 0.6043 GB, free: 10.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.6552, allocations: 309.1 kB / 0.6046 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.6568, allocations: 1.022 MB / 0.6056 GB, free: 9.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/0.66, allocations: 3.182 MB / 0.6087 GB, free: 5.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005381/0.6654, allocations: 4.573 MB / 0.6132 GB, free: 15.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.145e-05/0.6655, allocations: 24 kB / 0.6132 GB, free: 15.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.006939/0.6725, allocations: 4.102 MB / 0.6172 GB, free: 11.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/0.6725, allocations: 39.94 kB / 0.6172 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001111/0.6727, allocations: 76 kB / 0.6173 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001179/0.6728, allocations: 104 kB / 0.6174 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/0.6754, allocations: 0.846 MB / 0.6182 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001837/0.6756, allocations: 155.4 kB / 0.6184 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.6779, allocations: 180.2 kB / 0.6186 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/0.6783, allocations: 208 kB / 0.6188 GB, free: 9.875 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.002406/0.6807, allocations: 1.418 MB / 0.6201 GB, free: 8.445 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.6811, allocations: 213.2 kB / 0.6203 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.6835, allocations: 1.418 MB / 0.6217 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6835, allocations: 8 kB / 0.6217 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6835, allocations: 0 / 0.6217 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.6835, allocations: 11.97 kB / 0.6217 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008784/0.6923, allocations: 5.214 MB / 0.6268 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/0.6924, allocations: 16 kB / 0.6269 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.6933, allocations: 223.6 kB / 0.6271 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-05/0.6933, allocations: 20 kB / 0.6271 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.6934, allocations: 32 kB / 0.6271 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-05/0.6934, allocations: 27.92 kB / 0.6271 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/0.6935, allocations: 27.81 kB / 0.6272 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6958, allocations: 1.739 MB / 0.6289 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/0.6966, allocations: 294.3 kB / 0.6291 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004385/0.697, allocations: 43.98 kB / 0.6292 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.698, allocations: 43.97 kB / 0.6292 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.6981, allocations: 116.1 kB / 0.6293 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.6982, allocations: 47.98 kB / 0.6294 GB, free: 14.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002389/0.7006, allocations: 1.53 MB / 0.6309 GB, free: 12.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7006, allocations: 4 kB / 0.6309 GB, free: 12.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00296/0.7036, allocations: 0.6015 MB / 0.6315 GB, free: 12.32 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.002763/0.7064, allocations: 2.383 MB / 0.6338 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003902/0.7103, allocations: 2.362 MB / 0.6361 GB, free: 7.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.7103, allocations: 4.375 kB / 0.6361 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000828/0.7111, allocations: 0.5685 MB / 0.6367 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.7133, allocations: 338 kB / 0.637 GB, free: 6.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04982/0.7632, allocations: 29.17 MB / 0.6655 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003627/0.7669, allocations: 2.458 MB / 0.6679 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00285/0.7697, allocations: 0.9611 MB / 0.6688 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/0.7716, allocations: 1.237 MB / 0.67 GB, free: 464 kB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.7716, allocations: 0 / 0.67 GB, free: 464 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2735/1.045, allocations: 43.59 MB / 0.7126 GB, free: 206.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/1.045, allocations: 188.9 kB / 0.7128 GB, free: 206.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.163/4.208, allocations: 3.938 kB / 0.7128 GB, free: 206.3 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