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.000847/0.000847, allocations: 93.88 kB / 17.35 MB, free: 6.371 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.0009275/0.0009274, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.274/1.274, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1792/0.1792, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 61.91 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.04035/0.1433, allocations: 44.58 MB / 0.5048 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2239/0.3672, allocations: 9.274 MB / 0.5139 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00802/0.3753, allocations: 190.2 kB / 0.5141 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3765, allocations: 281.5 kB / 0.5143 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.3788, allocations: 0.7432 MB / 0.515 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.3809, allocations: 0.7502 MB / 0.5158 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004599/0.3855, allocations: 3.34 MB / 0.519 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007653/0.3932, allocations: 5.834 MB / 0.5247 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.3949, allocations: 0.8247 MB / 0.5255 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.3967, allocations: 1.352 MB / 0.5269 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002822/0.397, allocations: 116.6 kB / 0.527 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.3985, allocations: 0.866 MB / 0.5278 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008518/0.3993, allocations: 1.247 MB / 0.529 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009119/0.4003, allocations: 1.448 MB / 0.5305 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003787/0.4041, allocations: 5.43 MB / 0.5358 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4041, allocations: 0 / 0.5358 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4041, allocations: 0 / 0.5358 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.4042, allocations: 0 / 0.5358 GB, free: 0.9531 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.006413/0.4106, allocations: 3.229 MB / 0.5389 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4107, allocations: 9.625 kB / 0.5389 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008288/0.4115, allocations: 0.539 MB / 0.5394 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.4136, allocations: 0.5903 MB / 0.54 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.4167, allocations: 1.795 MB / 0.5418 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.4169, allocations: 212 kB / 0.542 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/0.4173, allocations: 273.8 kB / 0.5422 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.4328, allocations: 8.187 MB / 0.5502 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/0.4329, allocations: 15.81 kB / 0.5502 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.4331, allocations: 127.2 kB / 0.5504 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/0.4346, allocations: 1.135 MB / 0.5515 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01366/0.4483, allocations: 6.956 MB / 0.5583 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0294/0.4777, allocations: 24.78 MB / 0.5825 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007293/0.4851, allocations: 2.267 MB / 0.5847 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.4865, allocations: 1.085 MB / 0.5857 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008851/0.4954, allocations: 7.11 MB / 0.5927 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.4954, allocations: 43.22 kB / 0.5927 GB, free: 8.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 3.036e-06/0.4954, allocations: 0 / 0.5927 GB, free: 8.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.01744/0.5129, allocations: 5.372 MB / 0.598 GB, free: 3.508 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.513, allocations: 64.41 kB / 0.598 GB, free: 3.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/0.5164, allocations: 2.402 MB / 0.6004 GB, free: 1.004 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.5165, allocations: 41.7 kB / 0.6004 GB, free: 0.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.5179, allocations: 2.071 MB / 0.6024 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.5183, allocations: 376.7 kB / 0.6028 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/0.5187, allocations: 325.2 kB / 0.6031 GB, free: 14.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.5188, allocations: 305.1 kB / 0.6034 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.5207, allocations: 1.03 MB / 0.6044 GB, free: 12.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.5239, allocations: 3.186 MB / 0.6075 GB, free: 8.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/0.5291, allocations: 4.569 MB / 0.612 GB, free: 2.953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.047e-05/0.5292, allocations: 20 kB / 0.612 GB, free: 2.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.006969/0.5362, allocations: 4.099 MB / 0.616 GB, free: 14.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.5363, allocations: 44.12 kB / 0.616 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.5364, allocations: 80 kB / 0.6161 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.5365, allocations: 100 kB / 0.6162 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/0.5392, allocations: 0.8461 MB / 0.617 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001312/0.5394, allocations: 151.4 kB / 0.6172 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.5418, allocations: 175.8 kB / 0.6174 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/0.5422, allocations: 208 kB / 0.6176 GB, free: 13.24 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.002756/0.5449, allocations: 1.434 MB / 0.619 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/0.5454, allocations: 213.2 kB / 0.6192 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.548, allocations: 1.41 MB / 0.6205 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.5481, allocations: 12 kB / 0.6205 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.5481, allocations: 7.938 kB / 0.6206 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5481, allocations: 3.984 kB / 0.6206 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009433/0.5575, allocations: 5.234 MB / 0.6257 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/0.5576, allocations: 12 kB / 0.6257 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.5584, allocations: 215.8 kB / 0.6259 GB, free: 4.426 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.317e-05/0.5584, allocations: 24 kB / 0.6259 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.5585, allocations: 36 kB / 0.6259 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.423e-05/0.5585, allocations: 31.86 kB / 0.626 GB, free: 4.336 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.5586, allocations: 19.94 kB / 0.626 GB, free: 4.316 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.561, allocations: 1.747 MB / 0.6277 GB, free: 2.363 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/0.5616, allocations: 298.2 kB / 0.628 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/0.562, allocations: 39.98 kB / 0.628 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.563, allocations: 43.97 kB / 0.6281 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.5632, allocations: 120.1 kB / 0.6282 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.5633, allocations: 51.98 kB / 0.6282 GB, free: 1.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002592/0.5659, allocations: 1.526 MB / 0.6297 GB, free: 268 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5659, allocations: 0 / 0.6297 GB, free: 268 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.003038/0.5689, allocations: 0.6016 MB / 0.6303 GB, free: 15.66 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.002989/0.5719, allocations: 2.381 MB / 0.6326 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004329/0.5763, allocations: 2.357 MB / 0.6349 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.5763, allocations: 7.938 kB / 0.6349 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.5772, allocations: 0.5678 MB / 0.6355 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00656/0.5837, allocations: 350.4 kB / 0.6358 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05146/0.6352, allocations: 29.2 MB / 0.6643 GB, free: 8.445 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/0.6392, allocations: 2.458 MB / 0.6667 GB, free: 5.957 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003534/0.6427, allocations: 0.9572 MB / 0.6677 GB, free: 4.992 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/0.6449, allocations: 1.241 MB / 0.6689 GB, free: 3.75 MB / 0.5138 GB Notification: Performance of SimCode: time 5.01e-07/0.6449, allocations: 0 / 0.6689 GB, free: 3.75 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/0.9498, allocations: 43.11 MB / 0.711 GB, free: 204.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.95, allocations: 198.4 kB / 0.7112 GB, free: 204.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.654, allocations: 0 / 0.7112 GB, free: 204.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