Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.00224/0.002241, allocations: 182.6 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.172/1.172, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001777/0.001777, allocations: 123.3 kB / 247.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1717/0.1717, allocations: 39.94 MB / 331.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.323e-06/7.343e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/0.4335, allocations: 91.29 MB / 0.5263 GB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.4338, allocations: 76.14 kB / 0.5264 GB, free: 8.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08617/0.52, allocations: 33.22 MB / 0.5588 GB, free: 12.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.5201, allocations: 40 kB / 0.5589 GB, free: 12.61 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.006409/0.5266, allocations: 2.156 MB / 0.561 GB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5266, allocations: 8.031 kB / 0.561 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.5291, allocations: 360.7 kB / 0.5613 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.5315, allocations: 1.13 MB / 0.5624 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.5316, allocations: 67.94 kB / 0.5625 GB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.5319, allocations: 112 kB / 0.5626 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003716/0.5356, allocations: 2.801 MB / 0.5653 GB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004587/0.5402, allocations: 3.815 MB / 0.569 GB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.5402, allocations: 11.94 kB / 0.5691 GB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.5404, allocations: 8 kB / 0.5691 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00089/0.5413, allocations: 0.528 MB / 0.5696 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.5612, allocations: 15.63 MB / 0.5848 GB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5624, allocations: 0.8371 MB / 0.5857 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.5632, allocations: 0.6716 MB / 0.5863 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004806/0.568, allocations: 3.604 MB / 0.5898 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5681, allocations: 34.56 kB / 0.5899 GB, free: 15.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.635e-06/0.5681, allocations: 3.938 kB / 0.5899 GB, free: 15.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.003656/0.5718, allocations: 1.103 MB / 0.5909 GB, free: 14.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5718, allocations: 110.8 kB / 0.5911 GB, free: 14.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.5735, allocations: 1.282 MB / 0.5923 GB, free: 12.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5735, allocations: 25.7 kB / 0.5923 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008482/0.5744, allocations: 1.412 MB / 0.5937 GB, free: 11.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5745, allocations: 138.6 kB / 0.5938 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.5745, allocations: 0 / 0.5938 GB, free: 11.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.5748, allocations: 447.7 kB / 0.5943 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/0.5754, allocations: 488.7 kB / 0.5947 GB, free: 10.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.577, allocations: 2.073 MB / 0.5968 GB, free: 7.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.5782, allocations: 0.9752 MB / 0.5977 GB, free: 6.465 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/0.5782, allocations: 16 kB / 0.5977 GB, free: 6.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.003269/0.5815, allocations: 2.142 MB / 0.5998 GB, free: 4.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5815, allocations: 4.938 kB / 0.5998 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/0.5816, allocations: 56 kB / 0.5999 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.042e-05/0.5817, allocations: 88 kB / 0.6 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/0.5833, allocations: 0.5614 MB / 0.6005 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.188e-05/0.5834, allocations: 111.6 kB / 0.6006 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.5849, allocations: 288.4 kB / 0.6009 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.5851, allocations: 152 kB / 0.601 GB, free: 3.051 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (307): * Single equations (assignments): 307 * 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.0002783/0.5854, allocations: 262.2 kB / 0.6013 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.5856, allocations: 122.4 kB / 0.6014 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.5858, allocations: 135.6 kB / 0.6015 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5858, allocations: 4 kB / 0.6015 GB, free: 2.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5858, allocations: 3.938 kB / 0.6015 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5858, allocations: 4 kB / 0.6015 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.5894, allocations: 2.567 MB / 0.604 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5895, allocations: 12 kB / 0.6041 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.5897, allocations: 75.84 kB / 0.6041 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.5897, allocations: 8 kB / 0.6041 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5898, allocations: 12 kB / 0.6042 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.5898, allocations: 19.92 kB / 0.6042 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.5898, allocations: 11.94 kB / 0.6042 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001032/0.5908, allocations: 1.203 MB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.5911, allocations: 207.4 kB / 0.6056 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.5912, allocations: 11.98 kB / 0.6056 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.5917, allocations: 15.98 kB / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.5917, allocations: 43.83 kB / 0.6056 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.5918, allocations: 16 kB / 0.6056 GB, free: 13.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0009853/0.5927, allocations: 0.8471 MB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001739/0.5945, allocations: 457.6 kB / 0.6069 GB, free: 12.43 MB / 426.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.0002223/0.5947, allocations: 123 kB / 0.607 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.5962, allocations: 1.157 MB / 0.6081 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5963, allocations: 0 / 0.6081 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.5965, allocations: 190.7 kB / 0.6083 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.597, allocations: 121.1 kB / 0.6084 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.6015, allocations: 2.69 MB / 0.6111 GB, free: 7.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/0.6033, allocations: 1.833 MB / 0.6129 GB, free: 6.129 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6033, allocations: 0 / 0.6129 GB, free: 6.129 MB / 426.7 MB Notification: Performance of Templates: time 0.02219/0.6255, allocations: 9.272 MB / 0.6219 GB, free: 12.87 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)