Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") [: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.002656/0.002656, allocations: 182.6 kB / 7.458 MB, free: 2.504 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.168/1.168, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001744/0.001744, allocations: 119.2 kB / 247.1 MB, free: 6.371 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.1594/0.1594, allocations: 39.95 MB / 331.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.64e-06/5.66e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09148, allocations: 54.88 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.3685, allocations: 100.8 MB / 0.5356 GB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.3687, allocations: 78.33 kB / 0.5357 GB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.325/0.6937, allocations: 126.5 MB / 0.6592 GB, free: 8.977 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005255/0.6943, allocations: 140 kB / 0.6593 GB, free: 8.84 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.02318/0.7175, allocations: 6.817 MB / 0.666 GB, free: 1.945 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.7176, allocations: 12.03 kB / 0.666 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1916/0.9092, allocations: 9.017 MB / 0.6748 GB, free: 139.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/0.9304, allocations: 9.074 MB / 0.6837 GB, free: 139.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003854/0.9309, allocations: 212 kB / 0.6839 GB, free: 139.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/0.9339, allocations: 389 kB / 0.6842 GB, free: 139.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02001/0.954, allocations: 10.39 MB / 0.6944 GB, free: 139.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.029/0.983, allocations: 14.58 MB / 0.7086 GB, free: 136.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.9833, allocations: 80.02 kB / 0.7087 GB, free: 136.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001242/0.9846, allocations: 38.84 kB / 0.7087 GB, free: 136.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001903/0.9865, allocations: 1.63 MB / 0.7103 GB, free: 136 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07994/1.066, allocations: 69.81 MB / 0.7785 GB, free: 92.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007898/1.074, allocations: 6.954 MB / 0.7853 GB, free: 86.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005964/1.08, allocations: 5.671 MB / 0.7908 GB, free: 81.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02917/1.11, allocations: 19.47 MB / 0.8098 GB, free: 64.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/1.11, allocations: 67.02 kB / 0.8099 GB, free: 64.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 8.626e-06/1.11, allocations: 0 / 0.8099 GB, free: 64.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=384): time 0.09807/1.208, allocations: 42.38 MB / 0.8513 GB, free: 28.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/1.208, allocations: 321.3 kB / 0.8516 GB, free: 27.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/1.217, allocations: 4.381 MB / 0.8559 GB, free: 23.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001625/1.219, allocations: 25.7 kB / 0.8559 GB, free: 23.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.222, allocations: 3.958 MB / 0.8598 GB, free: 19.47 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002192/1.224, allocations: 1.348 MB / 0.8611 GB, free: 18.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009251/1.225, allocations: 0 / 0.8611 GB, free: 18.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004129/1.225, allocations: 0.6696 MB / 0.8617 GB, free: 17.42 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005864/1.231, allocations: 4.546 MB / 0.8662 GB, free: 12.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009082/1.24, allocations: 9.055 MB / 0.875 GB, free: 1.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1801/1.42, allocations: 6.382 MB / 0.8813 GB, free: 124.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000134/1.421, allocations: 45.31 kB / 0.8813 GB, free: 124.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.03304/1.454, allocations: 16.54 MB / 0.8975 GB, free: 124 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.454, allocations: 3.719 kB / 0.8975 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/1.454, allocations: 161 kB / 0.8976 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01316/1.467, allocations: 4.431 MB / 0.9019 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008088/1.475, allocations: 1.978 MB / 0.9039 GB, free: 123.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/1.506, allocations: 22.88 MB / 0.9262 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007574/1.514, allocations: 357 kB / 0.9266 GB, free: 120.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/1.516, allocations: 0.4891 MB / 0.927 GB, free: 120.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1011): * Single equations (assignments): 1005 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002105/1.518, allocations: 0.5177 MB / 0.9275 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.519, allocations: 0.5074 MB / 0.928 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02194/1.541, allocations: 11.96 MB / 0.9397 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001139/1.541, allocations: 36.69 kB / 0.9398 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-05/1.541, allocations: 16.78 kB / 0.9398 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.509e-05/1.541, allocations: 21.98 kB / 0.9398 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04309/1.584, allocations: 20.69 MB / 0.96 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/1.585, allocations: 6.875 kB / 0.96 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003906/1.588, allocations: 0.6144 MB / 0.9606 GB, free: 110.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01328/1.602, allocations: 4.191 MB / 0.9647 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/1.603, allocations: 11.14 kB / 0.9647 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/1.634, allocations: 22.42 MB / 0.9866 GB, free: 88.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.634, allocations: 0 / 0.9866 GB, free: 88.57 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0283/1.663, allocations: 18.32 MB / 1.004 GB, free: 73.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003621/1.666, allocations: 1.318 MB / 1.006 GB, free: 71.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.668, allocations: 2.25 kB / 1.006 GB, free: 71.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.671, allocations: 194.5 kB / 1.006 GB, free: 71.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006004/1.672, allocations: 178.4 kB / 1.006 GB, free: 71.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003703/1.672, allocations: 99.08 kB / 1.006 GB, free: 71.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004348/1.676, allocations: 3.011 MB / 1.009 GB, free: 68.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007759/1.684, allocations: 1.605 MB / 1.011 GB, free: 67.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 289 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006722/1.685, allocations: 158.5 kB / 1.011 GB, free: 67.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01703/1.702, allocations: 11.55 MB / 1.022 GB, free: 56.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.702, allocations: 4 kB / 1.022 GB, free: 56.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00926/1.711, allocations: 5.434 MB / 1.027 GB, free: 51.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/1.715, allocations: 0.5474 MB / 1.028 GB, free: 51.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/1.746, allocations: 14.77 MB / 1.042 GB, free: 37.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01217/1.759, allocations: 5.429 MB / 1.048 GB, free: 32.14 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/1.759, allocations: 0 / 1.048 GB, free: 32.14 MB / 474.7 MB Notification: Performance of Templates: time 0.3177/2.076, allocations: 84.9 MB / 1.131 GB, free: 104.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)