Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP") [: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.002621/0.002621, allocations: 178.4 kB / 7.454 MB, free: 2.484 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.272/1.272, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001901/0.001901, allocations: 113 kB / 217.7 MB, free: 8.145 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.2092/0.2092, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.556e-06, allocations: 1.312 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.128, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5392, allocations: 91.66 MB / 489.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.5395, allocations: 75.03 kB / 489.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1353/0.6748, allocations: 52.54 MB / 0.5298 GB, free: 6.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001669/0.6751, allocations: 52 kB / 0.5298 GB, free: 6.648 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009357/0.6844, allocations: 2.379 MB / 0.5321 GB, free: 4.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.6845, allocations: 16.02 kB / 0.5322 GB, free: 4.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.6882, allocations: 433.6 kB / 0.5326 GB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005939/0.6942, allocations: 1.524 MB / 0.5341 GB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.6944, allocations: 92 kB / 0.5342 GB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.6961, allocations: 163.9 kB / 0.5343 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009225/0.7053, allocations: 3.465 MB / 0.5377 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009766/0.7151, allocations: 4.702 MB / 0.5423 GB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.94e-05/0.7153, allocations: 19.81 kB / 0.5423 GB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.7156, allocations: 8 kB / 0.5423 GB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008838/0.7165, allocations: 0.489 MB / 0.5428 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.7436, allocations: 18.35 MB / 0.5607 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.7449, allocations: 0.6069 MB / 0.5613 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.7454, allocations: 335 kB / 0.5616 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.747, allocations: 1.76 MB / 0.5633 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.747, allocations: 47 kB / 0.5634 GB, free: 3.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.366e-06/0.747, allocations: 0 / 0.5634 GB, free: 3.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=92): time 0.01249/0.7595, allocations: 3.991 MB / 0.5673 GB, free: 15.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.7596, allocations: 93.89 kB / 0.5674 GB, free: 15.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.7618, allocations: 1.365 MB / 0.5687 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/0.7619, allocations: 29.7 kB / 0.5687 GB, free: 13.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.763, allocations: 1.596 MB / 0.5703 GB, free: 12.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.7634, allocations: 339.4 kB / 0.5706 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.7635, allocations: 0 / 0.5706 GB, free: 11.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.7638, allocations: 472.5 kB / 0.5711 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.765, allocations: 0.7005 MB / 0.5717 GB, free: 10.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.7677, allocations: 2.276 MB / 0.574 GB, free: 7.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.7704, allocations: 1.436 MB / 0.5754 GB, free: 6.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.7705, allocations: 16 kB / 0.5754 GB, free: 6.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.005175/0.7756, allocations: 2.851 MB / 0.5782 GB, free: 3.398 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7757, allocations: 4 kB / 0.5782 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-05/0.7758, allocations: 56 kB / 0.5782 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.745e-05/0.7759, allocations: 88.06 kB / 0.5783 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.7779, allocations: 0.655 MB / 0.579 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.167e-05/0.778, allocations: 111.6 kB / 0.5791 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.7797, allocations: 55.91 kB / 0.5791 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.7799, allocations: 179.9 kB / 0.5793 GB, free: 2.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (356): * Single equations (assignments): 356 * 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.0003372/0.7803, allocations: 254.5 kB / 0.5795 GB, free: 2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.7805, allocations: 150.1 kB / 0.5797 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.7828, allocations: 1.203 MB / 0.5808 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.7829, allocations: 12 kB / 0.5809 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.7829, allocations: 0 / 0.5809 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.7829, allocations: 3.984 kB / 0.5809 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00802/0.7909, allocations: 4.612 MB / 0.5854 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.791, allocations: 12 kB / 0.5854 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.7916, allocations: 179.7 kB / 0.5855 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.238e-05/0.7917, allocations: 20 kB / 0.5856 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.7917, allocations: 16 kB / 0.5856 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-05/0.7918, allocations: 28.33 kB / 0.5856 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.828e-05/0.7918, allocations: 31.81 kB / 0.5856 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002677/0.7945, allocations: 2.394 MB / 0.588 GB, free: 8.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.795, allocations: 223.2 kB / 0.5882 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.7952, allocations: 16 kB / 0.5882 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.7958, allocations: 19.98 kB / 0.5882 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.7959, allocations: 95.56 kB / 0.5883 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.328e-05/0.796, allocations: 44 kB / 0.5884 GB, free: 8.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001518/0.7975, allocations: 0.9163 MB / 0.5892 GB, free: 7.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002874/0.8004, allocations: 443.9 kB / 0.5897 GB, free: 6.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.0003841/0.8008, allocations: 174 kB / 0.5898 GB, free: 6.484 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.8034, allocations: 1.641 MB / 0.5914 GB, free: 4.855 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8034, allocations: 4 kB / 0.5914 GB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.8039, allocations: 431.6 kB / 0.5919 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.8048, allocations: 177.4 kB / 0.592 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008527/0.8133, allocations: 3.95 MB / 0.5959 GB, free: 72 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/0.8167, allocations: 2.35 MB / 0.5982 GB, free: 13.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.833e-06/0.8167, allocations: 0 / 0.5982 GB, free: 13.68 MB / 426.7 MB Notification: Performance of Templates: time 0.2203/1.037, allocations: 14.03 MB / 0.6119 GB, free: 155.1 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)