Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 236 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.55 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1845/0.1845, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.457e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5028, allocations: 100.7 MB / 0.6 GB, free: 4.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5031, allocations: 79.95 kB / 0.6001 GB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07591/0.579, allocations: 30.58 MB / 0.63 GB, free: 5.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.579, allocations: 0 / 0.63 GB, free: 5.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.067e-05/0.5791, allocations: 36 kB / 0.63 GB, free: 5.73 MB / 442.7 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.003915/0.583, allocations: 2.001 MB / 0.632 GB, free: 3.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.5831, allocations: 11.97 kB / 0.632 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.5844, allocations: 321.3 kB / 0.6323 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.5864, allocations: 1.041 MB / 0.6333 GB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.721e-05/0.5865, allocations: 123.2 kB / 0.6334 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.5868, allocations: 160 kB / 0.6336 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.5943, allocations: 4.233 MB / 0.6377 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.5943, allocations: 11.88 kB / 0.6377 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.5945, allocations: 75.95 kB / 0.6378 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005189/0.595, allocations: 418.5 kB / 0.6382 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006793/0.6018, allocations: 3.54 MB / 0.6416 GB, free: 9.449 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.6175, allocations: 14.55 MB / 0.6558 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.6212, allocations: 1.207 MB / 0.657 GB, free: 9.305 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.622, allocations: 0.6742 MB / 0.6577 GB, free: 8.629 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004941/0.627, allocations: 3.726 MB / 0.6613 GB, free: 4.645 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.627, allocations: 38.88 kB / 0.6614 GB, free: 4.598 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 2.475e-06/0.6271, allocations: 4 kB / 0.6614 GB, free: 4.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=40): time 0.005102/0.6322, allocations: 1.451 MB / 0.6628 GB, free: 3.137 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.6322, allocations: 55.41 kB / 0.6628 GB, free: 3.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.6339, allocations: 1.303 MB / 0.6641 GB, free: 1.754 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6339, allocations: 33.7 kB / 0.6641 GB, free: 1.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008008/0.6347, allocations: 1.201 MB / 0.6653 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.6349, allocations: 174 kB / 0.6655 GB, free: 328 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.635, allocations: 47.94 kB / 0.6655 GB, free: 280 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.6353, allocations: 442.9 kB / 0.6659 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.6359, allocations: 464.1 kB / 0.6664 GB, free: 15.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.6374, allocations: 1.859 MB / 0.6682 GB, free: 12.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.6384, allocations: 0.9014 MB / 0.6691 GB, free: 11.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.6385, allocations: 16 kB / 0.6691 GB, free: 11.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.002894/0.6414, allocations: 2.208 MB / 0.6713 GB, free: 9.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.6414, allocations: 24 kB / 0.6713 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.6415, allocations: 55.98 kB / 0.6713 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.125e-05/0.6415, allocations: 79.94 kB / 0.6714 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.6427, allocations: 495 kB / 0.6719 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-05/0.6428, allocations: 100.1 kB / 0.672 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.644, allocations: 304.9 kB / 0.6723 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6441, allocations: 128 kB / 0.6724 GB, free: 8.496 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.6444, allocations: 303.6 kB / 0.6727 GB, free: 8.191 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6445, allocations: 122.4 kB / 0.6728 GB, free: 8.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.6447, allocations: 140.6 kB / 0.6729 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6448, allocations: 12 kB / 0.6729 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.6448, allocations: 7.891 kB / 0.6729 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6448, allocations: 0 / 0.6729 GB, free: 7.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.6483, allocations: 2.824 MB / 0.6757 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.6483, allocations: 8.938 kB / 0.6757 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.6486, allocations: 99.83 kB / 0.6758 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.6486, allocations: 16 kB / 0.6758 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.6487, allocations: 24 kB / 0.6758 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-05/0.6487, allocations: 27.86 kB / 0.6759 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/0.6487, allocations: 19.88 kB / 0.6759 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.6497, allocations: 1.506 MB / 0.6774 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.65, allocations: 215.4 kB / 0.6776 GB, free: 2.395 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6501, allocations: 31.94 kB / 0.6776 GB, free: 2.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.6505, allocations: 23.98 kB / 0.6776 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.6505, allocations: 67.67 kB / 0.6777 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.6506, allocations: 32 kB / 0.6777 GB, free: 2.242 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001042/0.6516, allocations: 0.888 MB / 0.6786 GB, free: 1.352 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6516, allocations: 0 / 0.6786 GB, free: 1.352 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001464/0.6531, allocations: 410.6 kB / 0.679 GB, free: 0.9492 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001807/0.6533, allocations: 127 kB / 0.6791 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.6548, allocations: 1.159 MB / 0.6802 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6549, allocations: 4.375 kB / 0.6802 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.6551, allocations: 222.2 kB / 0.6804 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006815/0.6558, allocations: 182.3 kB / 0.6806 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.6598, allocations: 2.444 MB / 0.683 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.6612, allocations: 1.571 MB / 0.6845 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001619/0.6629, allocations: 0.5698 MB / 0.6851 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.6631, allocations: 83.44 kB / 0.6852 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/0.6631, allocations: 4 kB / 0.6852 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.01759/0.6807, allocations: 9.105 MB / 0.6941 GB, free: 1.324 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches