Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009596/0.0009596, allocations: 186.3 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.054/1.054, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007711/0.0007711, allocations: 89.97 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1519/0.1519, allocations: 43.48 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.951e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2169, allocations: 58.84 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3258, allocations: 98.58 MB / 0.5617 GB, free: 344 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000157/0.3259, allocations: 75.95 kB / 0.5617 GB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd: time 0.07897/0.4049, allocations: 33.87 MB / 0.5948 GB, free: 14.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.174e-05/0.405, allocations: 36 kB / 0.5948 GB, free: 14.05 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003734/0.4087, allocations: 2.175 MB / 0.597 GB, free: 11.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4088, allocations: 8.031 kB / 0.597 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.4105, allocations: 360.7 kB / 0.5973 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.4126, allocations: 1.139 MB / 0.5984 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.4126, allocations: 67.98 kB / 0.5985 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.4129, allocations: 112 kB / 0.5986 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003281/0.4162, allocations: 2.805 MB / 0.6013 GB, free: 7.289 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.4204, allocations: 3.836 MB / 0.6051 GB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/0.4204, allocations: 7.938 kB / 0.6051 GB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.4206, allocations: 8 kB / 0.6051 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008136/0.4214, allocations: 0.5385 MB / 0.6056 GB, free: 2.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.4385, allocations: 15.71 MB / 0.621 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4396, allocations: 0.8448 MB / 0.6218 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.4403, allocations: 0.6755 MB / 0.6225 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004394/0.4447, allocations: 3.612 MB / 0.626 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4447, allocations: 34.56 kB / 0.626 GB, free: 13.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.4448, allocations: 0 / 0.626 GB, free: 13.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.003381/0.4481, allocations: 1.108 MB / 0.6271 GB, free: 11.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4482, allocations: 106.9 kB / 0.6272 GB, free: 11.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.4497, allocations: 1.311 MB / 0.6285 GB, free: 10.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4497, allocations: 29.64 kB / 0.6285 GB, free: 10.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006785/0.4504, allocations: 1.42 MB / 0.6299 GB, free: 9.016 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.4505, allocations: 142.6 kB / 0.63 GB, free: 8.875 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.4505, allocations: 0 / 0.63 GB, free: 8.875 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4507, allocations: 439.7 kB / 0.6305 GB, free: 8.438 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.4513, allocations: 496.7 kB / 0.6309 GB, free: 7.949 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4527, allocations: 2.099 MB / 0.633 GB, free: 5.016 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.4538, allocations: 0.9868 MB / 0.6339 GB, free: 4.027 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.4538, allocations: 16 kB / 0.634 GB, free: 4.012 MB / 474.7 MB Notification: Performance of matching and sorting (n=310) (initialization): time 0.002764/0.4566, allocations: 2.159 MB / 0.6361 GB, free: 1.844 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4566, allocations: 12.03 kB / 0.6361 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/0.4567, allocations: 59.98 kB / 0.6361 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.884e-05/0.4567, allocations: 88 kB / 0.6362 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.4583, allocations: 0.5692 MB / 0.6368 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.566e-05/0.4583, allocations: 115.6 kB / 0.6369 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4596, allocations: 288.4 kB / 0.6372 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.4598, allocations: 152 kB / 0.6373 GB, free: 0.5703 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 268 * Number of states: 0 () * Number of discrete variables: 33 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 310 * 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.0002301/0.46, allocations: 260.1 kB / 0.6376 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.4602, allocations: 126.5 kB / 0.6377 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.4604, allocations: 135.8 kB / 0.6378 GB, free: 52 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4604, allocations: 4 kB / 0.6378 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4604, allocations: 0 / 0.6378 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4604, allocations: 7.984 kB / 0.6378 GB, free: 40 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1104/0.5708, allocations: 2.565 MB / 0.6403 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5709, allocations: 8.609 kB / 0.6403 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.5711, allocations: 75.02 kB / 0.6404 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.5711, allocations: 15.09 kB / 0.6404 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.5711, allocations: 11.75 kB / 0.6404 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.5711, allocations: 10.16 kB / 0.6404 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.5712, allocations: 17.81 kB / 0.6405 GB, free: 184.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005399/0.5717, allocations: 1.203 MB / 0.6416 GB, free: 183.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.5719, allocations: 207 kB / 0.6418 GB, free: 183.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.572, allocations: 15.3 kB / 0.6418 GB, free: 183.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.5724, allocations: 15.08 kB / 0.6419 GB, free: 183.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.5725, allocations: 46.11 kB / 0.6419 GB, free: 183.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.5725, allocations: 18.56 kB / 0.6419 GB, free: 183.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007478/0.5733, allocations: 0.8631 MB / 0.6428 GB, free: 183.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001396/0.5747, allocations: 451.1 kB / 0.6432 GB, free: 183.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0001327/0.5748, allocations: 114.7 kB / 0.6433 GB, free: 183.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.5759, allocations: 1.181 MB / 0.6444 GB, free: 183.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5759, allocations: 0 / 0.6444 GB, free: 183.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.5761, allocations: 185.3 kB / 0.6446 GB, free: 183.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.5765, allocations: 116.4 kB / 0.6447 GB, free: 183.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003117/0.5797, allocations: 2.727 MB / 0.6474 GB, free: 182.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/0.5809, allocations: 1.846 MB / 0.6492 GB, free: 181.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5809, allocations: 0 / 0.6492 GB, free: 181.5 MB / 474.7 MB Notification: Performance of Templates: time 0.01609/0.597, allocations: 9.338 MB / 0.6583 GB, free: 181 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches