Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.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.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP") [: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.002296/0.002296, allocations: 178.9 kB / 7.451 MB, free: 2.516 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.142/1.142, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001736/0.001736, allocations: 107.9 kB / 217.7 MB, free: 8.227 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.1998/0.1998, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.235e-05, allocations: 1.219 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.5598, allocations: 95.01 MB / 493.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5602, allocations: 74.41 kB / 493.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1928/0.7529, allocations: 69.28 MB / 0.5494 GB, free: 3.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003465/0.7534, allocations: 79.94 kB / 0.5495 GB, free: 3.906 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: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01726/0.7706, allocations: 3.882 MB / 0.5533 GB, free: 15.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.7707, allocations: 11.97 kB / 0.5533 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/0.777, allocations: 0.6851 MB / 0.5539 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.7872, allocations: 2.574 MB / 0.5565 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/0.7876, allocations: 140 kB / 0.5566 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/0.7905, allocations: 240 kB / 0.5568 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01597/0.8065, allocations: 5.822 MB / 0.5625 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/0.833, allocations: 7.538 MB / 0.5699 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.8332, allocations: 15.88 kB / 0.5699 GB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/0.8352, allocations: 12 kB / 0.5699 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002081/0.8373, allocations: 0.8276 MB / 0.5707 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05691/0.8943, allocations: 27.65 MB / 0.5977 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.897, allocations: 1.321 MB / 0.599 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.8986, allocations: 0.8672 MB / 0.5998 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01137/0.91, allocations: 6.369 MB / 0.606 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.9101, allocations: 47 kB / 0.6061 GB, free: 8.426 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 3.076e-06/0.9101, allocations: 0 / 0.6061 GB, free: 8.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=79): time 0.01742/0.9275, allocations: 5.817 MB / 0.6118 GB, free: 2.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9277, allocations: 166.8 kB / 0.6119 GB, free: 2.348 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005214/0.9329, allocations: 2.075 MB / 0.614 GB, free: 256 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.9331, allocations: 25.7 kB / 0.614 GB, free: 224 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2011/1.134, allocations: 2.472 MB / 0.6164 GB, free: 142.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006212/1.135, allocations: 327.9 kB / 0.6167 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/1.135, allocations: 0 / 0.6167 GB, free: 142.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/1.135, allocations: 466.1 kB / 0.6172 GB, free: 142 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/1.137, allocations: 0.969 MB / 0.6181 GB, free: 142 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/1.14, allocations: 3.379 MB / 0.6214 GB, free: 138.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.142, allocations: 1.787 MB / 0.6231 GB, free: 138.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/1.142, allocations: 31.31 kB / 0.6232 GB, free: 138.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.006/1.148, allocations: 3.776 MB / 0.6269 GB, free: 138.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.148, allocations: 3.125 kB / 0.6269 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.04e-05/1.148, allocations: 86.41 kB / 0.6269 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001159/1.148, allocations: 129.4 kB / 0.6271 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/1.151, allocations: 0.9306 MB / 0.628 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/1.151, allocations: 169.7 kB / 0.6281 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/1.154, allocations: 130.2 kB / 0.6283 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/1.154, allocations: 244.6 kB / 0.6285 GB, free: 138.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.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],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.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 (498): * Single equations (assignments): 497 * Array equations: 1 * 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.000473/1.155, allocations: 338.1 kB / 0.6288 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/1.155, allocations: 208.7 kB / 0.629 GB, free: 138.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.157, allocations: 0.973 MB / 0.63 GB, free: 138.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.157, allocations: 11.16 kB / 0.63 GB, free: 138.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.157, allocations: 0 / 0.63 GB, free: 138.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.157, allocations: 11.09 kB / 0.63 GB, free: 138.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/1.165, allocations: 4.823 MB / 0.6347 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.165, allocations: 22.41 kB / 0.6347 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009305/1.166, allocations: 241.8 kB / 0.635 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.778e-05/1.166, allocations: 32.62 kB / 0.635 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/1.166, allocations: 25.78 kB / 0.635 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.556e-05/1.166, allocations: 38.28 kB / 0.635 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.16e-05/1.166, allocations: 31.12 kB / 0.6351 GB, free: 136.7 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003053/1.169, allocations: 3.592 MB / 0.6386 GB, free: 133.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/1.17, allocations: 300.5 kB / 0.6389 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002666/1.17, allocations: 29.88 kB / 0.6389 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/1.171, allocations: 41.8 kB / 0.6389 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.171, allocations: 118.1 kB / 0.6391 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/1.171, allocations: 66.5 kB / 0.6391 GB, free: 133.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002173/1.173, allocations: 1.383 MB / 0.6405 GB, free: 133.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003981/1.177, allocations: 0.5885 MB / 0.641 GB, free: 133.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.0003829/1.178, allocations: 177.9 kB / 0.6412 GB, free: 133 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003606/1.181, allocations: 2.311 MB / 0.6435 GB, free: 132.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.182, allocations: 0 / 0.6435 GB, free: 132.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007273/1.182, allocations: 0.5929 MB / 0.644 GB, free: 132.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.184, allocations: 229.3 kB / 0.6443 GB, free: 132.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.202, allocations: 6.009 MB / 0.6501 GB, free: 130.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007349/1.209, allocations: 3.211 MB / 0.6533 GB, free: 130 MB / 426.7 MB Notification: Performance of SimCode: time 2.364e-06/1.209, allocations: 3.594 kB / 0.6533 GB, free: 130 MB / 426.7 MB Notification: Performance of Templates: time 0.04917/1.259, allocations: 19.54 MB / 0.6724 GB, free: 128.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRP.pipe 2>&1)