Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.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: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3168, allocations: 62.44 MB / 0.5317 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.009327/0.3262, allocations: 8.103 MB / 0.5396 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005834/0.332, allocations: 2.635 MB / 0.5422 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.3331, allocations: 37.44 kB / 0.5422 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002618/0.3358, allocations: 1.294 MB / 0.5435 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.337, allocations: 446.4 kB / 0.5439 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009653/0.338, allocations: 414.9 kB / 0.5443 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3396, allocations: 1.033 MB / 0.5453 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.3413, allocations: 1.212 MB / 0.5465 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008976/0.3422, allocations: 0.5243 MB / 0.547 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.3434, allocations: 0.7669 MB / 0.5477 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.3438, allocations: 116 kB / 0.5478 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3448, allocations: 0.5812 MB / 0.5484 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007447/0.3456, allocations: 0.7129 MB / 0.5491 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.3466, allocations: 0.7999 MB / 0.5499 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.3493, allocations: 2.476 MB / 0.5523 GB, free: 12.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3493, allocations: 4 kB / 0.5523 GB, free: 12.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3493, allocations: 0 / 0.5523 GB, free: 12.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.591e-05/0.3494, allocations: 0 / 0.5523 GB, free: 12.7 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004672/0.3541, allocations: 2.106 MB / 0.5544 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3541, allocations: 12.03 kB / 0.5544 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.3551, allocations: 262.3 kB / 0.5546 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3566, allocations: 0.8419 MB / 0.5555 GB, free: 9.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.095e-05/0.3566, allocations: 90.7 kB / 0.5555 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/0.357, allocations: 128.1 kB / 0.5557 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007445/0.3644, allocations: 4.287 MB / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.3645, allocations: 7.938 kB / 0.5599 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.3646, allocations: 55.94 kB / 0.5599 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009898/0.3656, allocations: 0.7365 MB / 0.5606 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00696/0.3726, allocations: 3.512 MB / 0.5641 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.3887, allocations: 14.42 MB / 0.5781 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.3927, allocations: 1.219 MB / 0.5793 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000958/0.3937, allocations: 0.7835 MB / 0.5801 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005128/0.3988, allocations: 3.932 MB / 0.5839 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3989, allocations: 34.56 kB / 0.584 GB, free: 11.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.3989, allocations: 0 / 0.584 GB, free: 11.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.006447/0.4053, allocations: 1.96 MB / 0.5859 GB, free: 9.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.4054, allocations: 55.41 kB / 0.5859 GB, free: 9.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.4074, allocations: 1.479 MB / 0.5874 GB, free: 7.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.4074, allocations: 33.7 kB / 0.5874 GB, free: 7.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007826/0.4082, allocations: 1.159 MB / 0.5885 GB, free: 6.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4084, allocations: 185.9 kB / 0.5887 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.4089, allocations: 447.1 kB / 0.5892 GB, free: 5.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4091, allocations: 353.9 kB / 0.5895 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/0.4099, allocations: 0.5429 MB / 0.59 GB, free: 4.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.4116, allocations: 1.924 MB / 0.5919 GB, free: 2.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.4145, allocations: 2.666 MB / 0.5945 GB, free: 15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-05/0.4145, allocations: 12 kB / 0.5945 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.00359/0.4181, allocations: 2.371 MB / 0.5968 GB, free: 12.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.583e-05/0.4182, allocations: 28 kB / 0.5969 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.553e-05/0.4183, allocations: 48 kB / 0.5969 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.613e-05/0.4183, allocations: 68 kB / 0.597 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.4198, allocations: 499 kB / 0.5974 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.806e-05/0.4199, allocations: 99.59 kB / 0.5975 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.4214, allocations: 304.8 kB / 0.5978 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.4216, allocations: 128 kB / 0.5979 GB, free: 11.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 225 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (272): * Single equations (assignments): 272 * 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.001249/0.4228, allocations: 0.7661 MB / 0.5987 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.423, allocations: 122.4 kB / 0.5988 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.4233, allocations: 144.6 kB / 0.599 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4234, allocations: 3.938 kB / 0.599 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4234, allocations: 0 / 0.599 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.4236, allocations: 199.4 kB / 0.5991 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.4238, allocations: 8 kB / 0.5992 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.4242, allocations: 19.98 kB / 0.5992 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4243, allocations: 23.91 kB / 0.5992 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008332/0.4251, allocations: 0.5917 MB / 0.5998 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000917/0.426, allocations: 0.7767 MB / 0.6005 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003293/0.4264, allocations: 243.8 kB / 0.6008 GB, free: 8.512 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.4277, allocations: 0.9085 MB / 0.6017 GB, free: 7.602 MB / 462.1 MB Notification: Performance of Backend: time 2.21e-07/0.4277, allocations: 4 kB / 0.6017 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.4302, allocations: 1.245 MB / 0.6029 GB, free: 6.363 MB / 462.1 MB Notification: Performance of SimCode: time 0.005066/0.4353, allocations: 3.245 MB / 0.606 GB, free: 3.066 MB / 462.1 MB Notification: Performance of Templates: time 0.02495/0.4603, allocations: 13.99 MB / 0.6197 GB, free: 5.121 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches