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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009142/0.0009143, allocations: 179 kB / 8.517 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0008974/0.0008974, allocations: 87.36 kB / 281.2 MB, free: 5.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1761/0.1761, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.734e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4253, allocations: 99.96 MB / 0.5917 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4256, allocations: 67.97 kB / 0.5918 GB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.07437/0.4999, allocations: 29.29 MB / 0.6204 GB, free: 15.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.934e-05/0.5001, allocations: 36 kB / 0.6204 GB, free: 15.22 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.004483/0.5045, allocations: 1.958 MB / 0.6223 GB, free: 13.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5046, allocations: 15.97 kB / 0.6223 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.5062, allocations: 297.3 kB / 0.6226 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.5084, allocations: 1.041 MB / 0.6236 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.5085, allocations: 55.91 kB / 0.6237 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.5087, allocations: 92 kB / 0.6238 GB, free: 11.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003416/0.5121, allocations: 2.444 MB / 0.6262 GB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.5164, allocations: 3.312 MB / 0.6294 GB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/0.5164, allocations: 11.92 kB / 0.6294 GB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.5166, allocations: 8 kB / 0.6294 GB, free: 5.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006693/0.5173, allocations: 434.5 kB / 0.6298 GB, free: 5.223 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.5342, allocations: 13.97 MB / 0.6435 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.5354, allocations: 0.8033 MB / 0.6443 GB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007783/0.5362, allocations: 0.6621 MB / 0.6449 GB, free: 5.387 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005328/0.5416, allocations: 3.285 MB / 0.6481 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5416, allocations: 30.56 kB / 0.6481 GB, free: 1.848 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 4.578e-06/0.5416, allocations: 7.922 kB / 0.6482 GB, free: 1.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.003627/0.5453, allocations: 1.089 MB / 0.6492 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.5453, allocations: 59.41 kB / 0.6493 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.5471, allocations: 1.212 MB / 0.6505 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.5471, allocations: 25.7 kB / 0.6505 GB, free: 15.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/0.5479, allocations: 1.184 MB / 0.6516 GB, free: 14.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.366e-05/0.548, allocations: 126.7 kB / 0.6518 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.548, allocations: 0 / 0.6518 GB, free: 14.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5482, allocations: 435 kB / 0.6522 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.5489, allocations: 456.1 kB / 0.6526 GB, free: 13.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.5508, allocations: 1.864 MB / 0.6544 GB, free: 10.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.5519, allocations: 0.8832 MB / 0.6553 GB, free: 9.723 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/0.5519, allocations: 19.94 kB / 0.6553 GB, free: 9.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003064/0.555, allocations: 1.946 MB / 0.6572 GB, free: 7.754 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.555, allocations: 5.094 kB / 0.6572 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/0.5551, allocations: 52 kB / 0.6573 GB, free: 7.699 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.17e-05/0.5552, allocations: 79.91 kB / 0.6573 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.5566, allocations: 499 kB / 0.6578 GB, free: 7.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.268e-05/0.5567, allocations: 103.6 kB / 0.6579 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.5585, allocations: 249 kB / 0.6582 GB, free: 6.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.5586, allocations: 136 kB / 0.6583 GB, free: 6.648 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (275): * Single equations (assignments): 275 * 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.0003587/0.559, allocations: 251.7 kB / 0.6585 GB, free: 6.395 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.5592, allocations: 114.6 kB / 0.6586 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.5595, allocations: 122.9 kB / 0.6587 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5595, allocations: 0 / 0.6587 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.5596, allocations: 11.91 kB / 0.6588 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5596, allocations: 0 / 0.6588 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.563, allocations: 2.188 MB / 0.6609 GB, free: 3.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.5631, allocations: 8 kB / 0.6609 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.5634, allocations: 67.84 kB / 0.661 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.5634, allocations: 8 kB / 0.661 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5634, allocations: 12 kB / 0.661 GB, free: 3.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.5634, allocations: 11.94 kB / 0.661 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.5635, allocations: 15.94 kB / 0.661 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001132/0.5646, allocations: 1.13 MB / 0.6621 GB, free: 2.285 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.5649, allocations: 199.5 kB / 0.6623 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.5651, allocations: 16 kB / 0.6623 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.5655, allocations: 15.98 kB / 0.6623 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.5656, allocations: 47.72 kB / 0.6624 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.5656, allocations: 16 kB / 0.6624 GB, free: 1.977 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001052/0.5666, allocations: 0.7981 MB / 0.6632 GB, free: 1.176 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001867/0.5685, allocations: 374.3 kB / 0.6635 GB, free: 0.8086 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.000229/0.5688, allocations: 122.9 kB / 0.6637 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.5704, allocations: 1.054 MB / 0.6647 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.5704, allocations: 4.75 kB / 0.6647 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.5707, allocations: 179.6 kB / 0.6649 GB, free: 15.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.5714, allocations: 143 kB / 0.665 GB, free: 15.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.5755, allocations: 2.335 MB / 0.6673 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/0.577, allocations: 1.652 MB / 0.6689 GB, free: 11.14 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/0.577, allocations: 0 / 0.6689 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Templates: time 0.02058/0.5976, allocations: 8.765 MB / 0.6774 GB, free: 2.414 MB / 490.7 MB 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