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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [: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 trunk/package.mo): time 0.001064/0.001064, allocations: 196 kB / 8.536 MB, free: 1.75 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008751/0.0008751, allocations: 94.78 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1702/0.1702, allocations: 45.15 MB / 383.4 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/9.107e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.308/0.409, allocations: 101 MB / 0.6024 GB, free: 2.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4093, allocations: 75.28 kB / 0.6025 GB, free: 2.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07567/0.485, allocations: 29.35 MB / 0.6312 GB, free: 8.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.316e-05/0.4851, allocations: 32 kB / 0.6312 GB, free: 8.957 MB / 426.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.005056/0.4902, allocations: 1.967 MB / 0.6331 GB, free: 7.094 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4902, allocations: 16.03 kB / 0.6331 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.4921, allocations: 297.3 kB / 0.6334 GB, free: 6.785 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.4947, allocations: 1.033 MB / 0.6344 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.4948, allocations: 52 kB / 0.6345 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/0.4954, allocations: 95.5 kB / 0.6346 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004722/0.5001, allocations: 2.442 MB / 0.6369 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004846/0.505, allocations: 3.308 MB / 0.6402 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/0.505, allocations: 15.86 kB / 0.6402 GB, free: 1.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.5052, allocations: 8 kB / 0.6402 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005615/0.5058, allocations: 438.5 kB / 0.6406 GB, free: 1.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01627/0.5221, allocations: 13.97 MB / 0.6543 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5233, allocations: 0.8161 MB / 0.6551 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.5241, allocations: 0.6504 MB / 0.6557 GB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004732/0.5289, allocations: 3.277 MB / 0.6589 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.981e-05/0.529, allocations: 38.55 kB / 0.6589 GB, free: 76 kB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.529, allocations: 7.938 kB / 0.6589 GB, free: 68 kB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.003572/0.5326, allocations: 1.083 MB / 0.66 GB, free: 14.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.5326, allocations: 59.39 kB / 0.66 GB, free: 14.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.5343, allocations: 1.212 MB / 0.6612 GB, free: 13.69 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.5343, allocations: 25.7 kB / 0.6613 GB, free: 13.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.535, allocations: 1.192 MB / 0.6624 GB, free: 12.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/0.5351, allocations: 122.7 kB / 0.6625 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.5352, allocations: 4 kB / 0.6625 GB, free: 12.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5354, allocations: 438.9 kB / 0.663 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.536, allocations: 448.2 kB / 0.6634 GB, free: 11.44 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.5374, allocations: 1.868 MB / 0.6652 GB, free: 8.832 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000979/0.5383, allocations: 0.8793 MB / 0.6661 GB, free: 7.949 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.5384, allocations: 19.94 kB / 0.6661 GB, free: 7.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.002678/0.5411, allocations: 1.941 MB / 0.668 GB, free: 5.984 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5411, allocations: 7.906 kB / 0.668 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/0.5411, allocations: 52.91 kB / 0.668 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7e-05/0.5412, allocations: 76 kB / 0.6681 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.5425, allocations: 0.5029 MB / 0.6686 GB, free: 5.348 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.33e-05/0.5426, allocations: 99.64 kB / 0.6687 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.5439, allocations: 245 kB / 0.6689 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.5441, allocations: 136 kB / 0.6691 GB, free: 4.875 MB / 458.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.0002485/0.5443, allocations: 247.6 kB / 0.6693 GB, free: 4.625 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.5445, allocations: 114.6 kB / 0.6694 GB, free: 4.512 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.5447, allocations: 126.9 kB / 0.6695 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5447, allocations: 3.906 kB / 0.6695 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5447, allocations: 4 kB / 0.6695 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.5447, allocations: 3.984 kB / 0.6695 GB, free: 4.371 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.5476, allocations: 2.175 MB / 0.6717 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.5476, allocations: 8 kB / 0.6717 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.5479, allocations: 68.75 kB / 0.6717 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.5479, allocations: 11.98 kB / 0.6718 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.5479, allocations: 16 kB / 0.6718 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.106e-05/0.548, allocations: 15.92 kB / 0.6718 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.548, allocations: 12 kB / 0.6718 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009081/0.5489, allocations: 1.126 MB / 0.6729 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.5491, allocations: 195.5 kB / 0.6731 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.5493, allocations: 15.98 kB / 0.6731 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.5497, allocations: 19.92 kB / 0.6731 GB, free: 276 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.5497, allocations: 39.8 kB / 0.6732 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5497, allocations: 16 kB / 0.6732 GB, free: 220 kB / 458.7 MB Notification: Performance of sort global known variables: time 0.0009208/0.5507, allocations: 0.7981 MB / 0.6739 GB, free: 15.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001735/0.5524, allocations: 382.3 kB / 0.6743 GB, free: 15.04 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.0002196/0.5526, allocations: 111.1 kB / 0.6744 GB, free: 14.91 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.5544, allocations: 1.066 MB / 0.6755 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.5545, allocations: 4 kB / 0.6755 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.5547, allocations: 174.2 kB / 0.6756 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.5553, allocations: 146.3 kB / 0.6758 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.5601, allocations: 2.336 MB / 0.678 GB, free: 11.06 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.5617, allocations: 1.648 MB / 0.6797 GB, free: 9.383 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5617, allocations: 0 / 0.6797 GB, free: 9.383 MB / 474.7 MB Notification: Performance of Templates: time 0.02114/0.5829, allocations: 8.772 MB / 0.6882 GB, free: 0.6445 MB / 474.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches