Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") [: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.1+maint.om/package.mo): time 0.004645/0.004645, allocations: 177.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.452/1.452, allocations: 170.6 MB / 178.4 MB, free: 15.78 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001754/0.001755, allocations: 119.8 kB / 217.7 MB, free: 8.543 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1735/0.1735, allocations: 37.96 MB / 294.8 MB, free: 9.652 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.072e-05, allocations: 2.438 kB / 349.5 MB, free: 37.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09202, allocations: 48.71 MB / 398.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.3781, allocations: 92.81 MB / 491 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.3783, allocations: 72.52 kB / 491.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1736/0.552, allocations: 71.78 MB / 0.5497 GB, free: 3.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000204/0.5522, allocations: 75.94 kB / 0.5498 GB, free: 3.168 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01105/0.5633, allocations: 3.573 MB / 0.5533 GB, free: 15.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5633, allocations: 12.03 kB / 0.5533 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/0.5681, allocations: 0.6271 MB / 0.5539 GB, free: 14.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/0.5751, allocations: 2.188 MB / 0.556 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.5754, allocations: 124 kB / 0.5561 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/0.5774, allocations: 224 kB / 0.5563 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01082/0.5883, allocations: 5.339 MB / 0.5616 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.6043, allocations: 6.98 MB / 0.5684 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.6045, allocations: 19.81 kB / 0.5684 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/0.6063, allocations: 12 kB / 0.5684 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.6083, allocations: 0.7997 MB / 0.5692 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04523/0.6535, allocations: 25.99 MB / 0.5946 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.6559, allocations: 1.118 MB / 0.5957 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.6573, allocations: 0.7511 MB / 0.5964 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.6678, allocations: 5.994 MB / 0.6022 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.6679, allocations: 50.91 kB / 0.6023 GB, free: 11.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 5.57e-06/0.6679, allocations: 0 / 0.6023 GB, free: 11.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01331/0.6813, allocations: 4.746 MB / 0.6069 GB, free: 7.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.6814, allocations: 145.2 kB / 0.6071 GB, free: 6.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/0.6853, allocations: 1.94 MB / 0.609 GB, free: 4.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.6854, allocations: 25.7 kB / 0.609 GB, free: 4.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.6871, allocations: 2.346 MB / 0.6113 GB, free: 2.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.6875, allocations: 312.2 kB / 0.6116 GB, free: 2.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.6877, allocations: 3.938 kB / 0.6116 GB, free: 2.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002942/0.688, allocations: 470.1 kB / 0.612 GB, free: 1.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.6894, allocations: 0.8588 MB / 0.6129 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1165/0.8059, allocations: 3.226 MB / 0.616 GB, free: 143.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.8081, allocations: 1.654 MB / 0.6176 GB, free: 143.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-05/0.8082, allocations: 24 kB / 0.6177 GB, free: 143.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.004729/0.8129, allocations: 3.512 MB / 0.6211 GB, free: 143.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8129, allocations: 10.62 kB / 0.6211 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.283e-05/0.813, allocations: 83.31 kB / 0.6212 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.422e-05/0.8131, allocations: 125.8 kB / 0.6213 GB, free: 143.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.8156, allocations: 0.9018 MB / 0.6222 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.8157, allocations: 168.2 kB / 0.6223 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.8178, allocations: 99.03 kB / 0.6224 GB, free: 143.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.8181, allocations: 233.2 kB / 0.6226 GB, free: 143.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (488): * Single equations (assignments): 488 * 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.0003386/0.8184, allocations: 327.5 kB / 0.623 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.8187, allocations: 198.4 kB / 0.6231 GB, free: 143.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.82, allocations: 0.924 MB / 0.6241 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.82, allocations: 13.12 kB / 0.6241 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8201, allocations: 7.344 kB / 0.6241 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.8201, allocations: 3.844 kB / 0.6241 GB, free: 143.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.8264, allocations: 4.387 MB / 0.6284 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.8264, allocations: 14.06 kB / 0.6284 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.827, allocations: 204.8 kB / 0.6286 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.119e-05/0.827, allocations: 29.08 kB / 0.6286 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/0.8271, allocations: 23.53 kB / 0.6286 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/0.8271, allocations: 35.88 kB / 0.6287 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.8271, allocations: 19.12 kB / 0.6287 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001516/0.8287, allocations: 2.858 MB / 0.6315 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.829, allocations: 285.1 kB / 0.6317 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/0.8293, allocations: 24.86 kB / 0.6318 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.83, allocations: 20.12 kB / 0.6318 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.8301, allocations: 109.1 kB / 0.6319 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/0.8302, allocations: 54.8 kB / 0.6319 GB, free: 139.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001653/0.8319, allocations: 1.283 MB / 0.6332 GB, free: 139 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003006/0.8349, allocations: 0.5535 MB / 0.6337 GB, free: 139 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.0002808/0.8352, allocations: 169 kB / 0.6339 GB, free: 138.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.8381, allocations: 2.053 MB / 0.6359 GB, free: 138.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.8381, allocations: 0 / 0.6359 GB, free: 138.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.8386, allocations: 463.7 kB / 0.6363 GB, free: 138.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.8397, allocations: 211.5 kB / 0.6365 GB, free: 138.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008354/0.8481, allocations: 5.316 MB / 0.6417 GB, free: 136.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/0.8508, allocations: 2.972 MB / 0.6446 GB, free: 136.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8508, allocations: 3.609 kB / 0.6446 GB, free: 136.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03431/0.8851, allocations: 16.7 MB / 0.6609 GB, free: 135.1 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)