Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002171/0.002171, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 78.5 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09885, allocations: 62.43 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.01057/0.1095, allocations: 10.81 MB / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005845/0.1153, allocations: 3.63 MB / 494.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1164, allocations: 59.88 kB / 494.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005048/0.1214, allocations: 3.24 MB / 497.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.123, allocations: 0.7812 MB / 498.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.1245, allocations: 0.8226 MB / 499.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.1266, allocations: 2.069 MB / 0.4898 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.1302, allocations: 4 MB / 0.4937 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.1314, allocations: 1.274 MB / 0.4949 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.133, allocations: 1.679 MB / 0.4966 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.1334, allocations: 352 kB / 0.4969 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1349, allocations: 1.05 MB / 0.4979 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.1359, allocations: 1.52 MB / 0.4994 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.1373, allocations: 1.756 MB / 0.5011 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1634/0.3008, allocations: 5.699 MB / 0.5067 GB, free: 20.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3008, allocations: 0 / 0.5067 GB, free: 20.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3008, allocations: 2.062 kB / 0.5067 GB, free: 20.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001245/0.3009, allocations: 0.7031 kB / 0.5067 GB, free: 20.73 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.006651/0.3076, allocations: 3.89 MB / 0.5105 GB, free: 19.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3076, allocations: 14 kB / 0.5105 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005767/0.3082, allocations: 0.5382 MB / 0.511 GB, free: 19.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.3103, allocations: 0.5834 MB / 0.5116 GB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.3129, allocations: 1.798 MB / 0.5134 GB, free: 18.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.3131, allocations: 210 kB / 0.5136 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004089/0.3135, allocations: 279.1 kB / 0.5138 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.3254, allocations: 8.168 MB / 0.5218 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-05/0.3255, allocations: 15.12 kB / 0.5218 GB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.3258, allocations: 123.2 kB / 0.5219 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00128/0.3271, allocations: 1.134 MB / 0.523 GB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.3379, allocations: 6.952 MB / 0.5298 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.3576, allocations: 24.76 MB / 0.554 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006499/0.3641, allocations: 2.273 MB / 0.5562 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.3654, allocations: 1.093 MB / 0.5573 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007742/0.3732, allocations: 7.188 MB / 0.5643 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3732, allocations: 47.22 kB / 0.5644 GB, free: 13.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.084e-06/0.3732, allocations: 0 / 0.5644 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.0153/0.3885, allocations: 5.399 MB / 0.5696 GB, free: 8.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3886, allocations: 64.41 kB / 0.5697 GB, free: 8.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.3911, allocations: 2.397 MB / 0.572 GB, free: 5.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.3911, allocations: 41.7 kB / 0.5721 GB, free: 5.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.3923, allocations: 2.065 MB / 0.5741 GB, free: 3.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.3925, allocations: 382.9 kB / 0.5745 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007189/0.3933, allocations: 0.7142 MB / 0.5752 GB, free: 2.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.3933, allocations: 301.1 kB / 0.5754 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.3947, allocations: 1.034 MB / 0.5765 GB, free: 1.102 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.3972, allocations: 3.187 MB / 0.5796 GB, free: 12.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/0.4014, allocations: 4.575 MB / 0.584 GB, free: 7.547 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-05/0.4015, allocations: 24 kB / 0.5841 GB, free: 7.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.005245/0.4067, allocations: 4.112 MB / 0.5881 GB, free: 3.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/0.4068, allocations: 43.53 kB / 0.5881 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-05/0.4069, allocations: 76 kB / 0.5882 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.461e-05/0.407, allocations: 104.7 kB / 0.5883 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.4091, allocations: 0.8484 MB / 0.5891 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-05/0.4092, allocations: 151.7 kB / 0.5893 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4108, allocations: 175.8 kB / 0.5894 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.411, allocations: 212 kB / 0.5896 GB, free: 2.379 MB / 430.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.001551/0.4126, allocations: 1.428 MB / 0.591 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.4128, allocations: 205.3 kB / 0.5912 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.4148, allocations: 1.429 MB / 0.5926 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4148, allocations: 8 kB / 0.5926 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4149, allocations: 0.6875 kB / 0.5926 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4149, allocations: 7.984 kB / 0.5926 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/0.4214, allocations: 5.278 MB / 0.5978 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.4214, allocations: 16 kB / 0.5978 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.4221, allocations: 224.5 kB / 0.598 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.4221, allocations: 20 kB / 0.598 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.4222, allocations: 36 kB / 0.5981 GB, free: 9.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.727e-05/0.4222, allocations: 27.92 kB / 0.5981 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/0.4222, allocations: 23.88 kB / 0.5981 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.4239, allocations: 1.751 MB / 0.5998 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.4242, allocations: 294.2 kB / 0.6001 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.4244, allocations: 43.98 kB / 0.6002 GB, free: 7.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.4251, allocations: 43.98 kB / 0.6002 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.4253, allocations: 132 kB / 0.6003 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.4253, allocations: 48 kB / 0.6004 GB, free: 6.895 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001671/0.427, allocations: 1.529 MB / 0.6019 GB, free: 5.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.427, allocations: 0 / 0.6019 GB, free: 5.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002028/0.429, allocations: 0.5859 MB / 0.6024 GB, free: 4.766 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 66 * 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.002133/0.4312, allocations: 2.378 MB / 0.6048 GB, free: 2.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.4344, allocations: 2.612 MB / 0.6073 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.4344, allocations: 4.125 kB / 0.6073 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.4351, allocations: 0.5601 MB / 0.6079 GB, free: 15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.4365, allocations: 360.1 kB / 0.6082 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/0.4642, allocations: 27.85 MB / 0.6354 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/0.4664, allocations: 2.454 MB / 0.6378 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002239/0.4686, allocations: 0.9561 MB / 0.6387 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.4699, allocations: 1.233 MB / 0.6399 GB, free: 9.984 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4699, allocations: 0 / 0.6399 GB, free: 9.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.313/2.783, allocations: 44.18 MB / 0.6831 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/13.85, allocations: 11.03 kB / 0.6831 GB, free: 13.98 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches