Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") [: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.001695/0.001695, allocations: 180.1 kB / 7.455 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.478/1.478, allocations: 170.6 MB / 178.4 MB, free: 3.945 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001919/0.001919, allocations: 111.9 kB / 217.7 MB, free: 12.69 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1492/0.1492, allocations: 37.98 MB / 294.8 MB, free: 64 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.964e-06/6.983e-06, allocations: 0 / 349.5 MB, free: 29.14 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 48.68 MB / 398.2 MB, free: 12.43 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2869/0.3908, allocations: 94.42 MB / 492.6 MB, free: 6.891 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3911, allocations: 81.14 kB / 492.7 MB, free: 6.848 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.2768/0.668, allocations: 102.5 MB / 0.5813 GB, free: 7.168 MB / 418.8 MB Notification: Performance of Transformations before backend: time 0.0004806/0.6685, allocations: 108 kB / 0.5814 GB, free: 7.062 MB / 418.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.0208/0.6893, allocations: 5.232 MB / 0.5865 GB, free: 1.762 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6894, allocations: 8.031 kB / 0.5865 GB, free: 1.754 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1951/0.8845, allocations: 6.521 MB / 0.5928 GB, free: 126.3 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/0.9006, allocations: 6.927 MB / 0.5996 GB, free: 125.9 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/0.9008, allocations: 179.5 kB / 0.5998 GB, free: 125.9 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001598/0.9024, allocations: 321.2 kB / 0.6001 GB, free: 125.9 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01161/0.9141, allocations: 7.455 MB / 0.6074 GB, free: 125.9 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.9318, allocations: 11.37 MB / 0.6185 GB, free: 122.9 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.932, allocations: 74.64 kB / 0.6185 GB, free: 122.8 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005986/0.9327, allocations: 35.59 kB / 0.6186 GB, free: 122.8 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001173/0.9338, allocations: 1.207 MB / 0.6198 GB, free: 122.8 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0495/0.9833, allocations: 56.59 MB / 0.675 GB, free: 85.19 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.9872, allocations: 3.498 MB / 0.6784 GB, free: 83.35 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002398/0.9896, allocations: 2.464 MB / 0.6808 GB, free: 82.27 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/1.001, allocations: 7.717 MB / 0.6884 GB, free: 78.1 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.001, allocations: 56 kB / 0.6884 GB, free: 78.05 MB / 418.8 MB Notification: Performance of pre-optimization done (n=191): time 7.303e-06/1.001, allocations: 0.9844 kB / 0.6884 GB, free: 78.05 MB / 418.8 MB Notification: Performance of matching and sorting (n=217): time 0.03295/1.034, allocations: 17.73 MB / 0.7057 GB, free: 62.76 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/1.034, allocations: 209.1 kB / 0.7059 GB, free: 62.52 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004842/1.039, allocations: 3.721 MB / 0.7096 GB, free: 59.23 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004053/1.039, allocations: 25.7 kB / 0.7096 GB, free: 59.2 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.041, allocations: 3.464 MB / 0.713 GB, free: 56.09 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000752/1.041, allocations: 0.806 MB / 0.7138 GB, free: 55.37 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/1.042, allocations: 0 / 0.7138 GB, free: 55.37 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0003055/1.042, allocations: 0.5885 MB / 0.7143 GB, free: 54.85 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/1.045, allocations: 2.158 MB / 0.7165 GB, free: 52.91 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/1.049, allocations: 6.24 MB / 0.7225 GB, free: 45.04 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00754/1.056, allocations: 3.676 MB / 0.7261 GB, free: 41.89 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.056, allocations: 40 kB / 0.7262 GB, free: 41.85 MB / 418.8 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02589/1.082, allocations: 8.114 MB / 0.7341 GB, free: 34.76 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.082, allocations: 8.969 kB / 0.7341 GB, free: 34.75 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/1.082, allocations: 144 kB / 0.7342 GB, free: 34.61 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/1.087, allocations: 0.9292 MB / 0.7352 GB, free: 33.87 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009347/1.096, allocations: 1.544 MB / 0.7367 GB, free: 32.52 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.109, allocations: 6.882 MB / 0.7434 GB, free: 26.07 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/1.119, allocations: 209.9 kB / 0.7436 GB, free: 25.88 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/1.121, allocations: 415.5 kB / 0.744 GB, free: 25.48 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (824): * Single equations (assignments): 819 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001738/1.123, allocations: 482.1 kB / 0.7444 GB, free: 25.01 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.124, allocations: 398.8 kB / 0.7448 GB, free: 24.62 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.135, allocations: 3.383 MB / 0.7481 GB, free: 21.82 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001104/1.135, allocations: 20 kB / 0.7481 GB, free: 21.8 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.135, allocations: 8 kB / 0.7481 GB, free: 21.79 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.911e-05/1.135, allocations: 11.39 kB / 0.7482 GB, free: 21.79 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/1.152, allocations: 8.128 MB / 0.7561 GB, free: 15.09 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.152, allocations: 0 / 0.7561 GB, free: 15.09 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.154, allocations: 335.6 kB / 0.7564 GB, free: 14.77 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002112/1.156, allocations: 0.6597 MB / 0.7571 GB, free: 14.1 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.156, allocations: 4 kB / 0.7571 GB, free: 14.1 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006242/1.163, allocations: 6.06 MB / 0.763 GB, free: 7.82 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.163, allocations: 4 kB / 0.763 GB, free: 7.816 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007887/1.171, allocations: 6.18 MB / 0.769 GB, free: 1.57 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/1.173, allocations: 0.6949 MB / 0.7697 GB, free: 0.8516 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006985/1.173, allocations: 3.906 kB / 0.7697 GB, free: 0.8477 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.175, allocations: 63.92 kB / 0.7698 GB, free: 0.7852 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.175, allocations: 105.7 kB / 0.7699 GB, free: 0.6875 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.175, allocations: 59.36 kB / 0.7699 GB, free: 0.6328 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.2136/1.389, allocations: 2.539 MB / 0.7724 GB, free: 110.8 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0077/1.397, allocations: 1.011 MB / 0.7734 GB, free: 110.8 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007778/1.398, allocations: 146.2 kB / 0.7735 GB, free: 110.7 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.409, allocations: 5.385 MB / 0.7788 GB, free: 110.5 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.409, allocations: 0 / 0.7788 GB, free: 110.5 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/1.412, allocations: 1.84 MB / 0.7806 GB, free: 110.3 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/1.415, allocations: 435 kB / 0.781 GB, free: 110.3 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/1.435, allocations: 9.321 MB / 0.7901 GB, free: 108.5 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006546/1.442, allocations: 4.405 MB / 0.7944 GB, free: 107.7 MB / 418.8 MB Notification: Performance of SimCode: time 1.152e-06/1.442, allocations: 0 / 0.7944 GB, free: 107.7 MB / 418.8 MB Notification: Performance of Templates: time 0.0822/1.524, allocations: 42.19 MB / 0.8356 GB, free: 105.6 MB / 418.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)