Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.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.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.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.2+maint.om/package.mo): time 0.003486/0.003486, allocations: 187.6 kB / 7.455 MB, free: 2.246 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.284/1.284, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001721/0.001721, allocations: 121.9 kB / 247.1 MB, free: 6.324 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.1811/0.1811, allocations: 39.93 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.913e-06/6.933e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09694, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.302/0.399, allocations: 103.3 MB / 0.538 GB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3993, allocations: 74.03 kB / 0.5381 GB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5945/0.9938, allocations: 158.3 MB / 0.6927 GB, free: 84.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004038/0.9942, allocations: 162.6 kB / 0.6928 GB, free: 84.43 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: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.02384/1.018, allocations: 7.436 MB / 0.7001 GB, free: 81.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.018, allocations: 7.625 kB / 0.7001 GB, free: 81.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03799/1.056, allocations: 9.059 MB / 0.709 GB, free: 80.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02173/1.078, allocations: 8.485 MB / 0.7172 GB, free: 79.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004787/1.078, allocations: 270.9 kB / 0.7175 GB, free: 79.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004309/1.083, allocations: 490.9 kB / 0.718 GB, free: 79.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02611/1.109, allocations: 13.44 MB / 0.7311 GB, free: 79.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04238/1.151, allocations: 19.12 MB / 0.7498 GB, free: 73.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006433/1.152, allocations: 86.83 kB / 0.7498 GB, free: 73.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005057/1.157, allocations: 45.5 kB / 0.7499 GB, free: 73.76 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003423/1.16, allocations: 2.24 MB / 0.7521 GB, free: 73.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1105/1.271, allocations: 82.23 MB / 0.8324 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/1.291, allocations: 7.395 MB / 0.8396 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007671/1.298, allocations: 5.28 MB / 0.8448 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2229/1.521, allocations: 14.83 MB / 0.8592 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/1.521, allocations: 72.61 kB / 0.8593 GB, free: 141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=422): time 7.875e-06/1.521, allocations: 1.781 kB / 0.8593 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=487): time 0.07702/1.598, allocations: 39.4 MB / 0.8978 GB, free: 136.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/1.598, allocations: 229.5 kB / 0.898 GB, free: 136.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009081/1.608, allocations: 5.384 MB / 0.9033 GB, free: 135.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.609, allocations: 32.2 kB / 0.9033 GB, free: 135.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00355/1.612, allocations: 5.511 MB / 0.9087 GB, free: 132.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002434/1.615, allocations: 1.727 MB / 0.9104 GB, free: 131.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009686/1.616, allocations: 3.188 kB / 0.9104 GB, free: 131.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006343/1.616, allocations: 0.8276 MB / 0.9112 GB, free: 131.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006933/1.623, allocations: 5.071 MB / 0.9161 GB, free: 130.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01169/1.635, allocations: 11.57 MB / 0.9274 GB, free: 120.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.647, allocations: 7.747 MB / 0.935 GB, free: 118.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003015/1.647, allocations: 67.78 kB / 0.935 GB, free: 118.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=1569) (initialization): time 0.03508/1.682, allocations: 16.62 MB / 0.9513 GB, free: 111.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.682, allocations: 4 kB / 0.9513 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005306/1.683, allocations: 235.9 kB / 0.9515 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004423/1.687, allocations: 1.657 MB / 0.9531 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009976/1.697, allocations: 2.687 MB / 0.9558 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.71, allocations: 12.9 MB / 0.9684 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009343/1.72, allocations: 383.3 kB / 0.9687 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/1.722, allocations: 0.6738 MB / 0.9694 GB, free: 94.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1048 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1445): * Single equations (assignments): 1432 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.723, allocations: 0.6753 MB / 0.97 GB, free: 93.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.725, allocations: 0.59 MB / 0.9706 GB, free: 93.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/1.738, allocations: 9.483 MB / 0.9799 GB, free: 85.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001247/1.738, allocations: 80.25 kB / 0.9799 GB, free: 85.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/1.738, allocations: 15.97 kB / 0.98 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.08e-05/1.738, allocations: 21.23 kB / 0.98 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03063/1.769, allocations: 19.2 MB / 0.9987 GB, free: 69.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/1.769, allocations: 8 kB / 0.9987 GB, free: 69.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003697/1.773, allocations: 0.6991 MB / 0.9994 GB, free: 68.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003638/1.776, allocations: 1.273 MB / 1.001 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006499/1.777, allocations: 19.56 kB / 1.001 GB, free: 67.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/1.788, allocations: 11.79 MB / 1.012 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.788, allocations: 8 kB / 1.012 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0208/1.809, allocations: 16.67 MB / 1.028 GB, free: 41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003555/1.813, allocations: 1.386 MB / 1.03 GB, free: 39.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.814, allocations: 8 kB / 1.03 GB, free: 39.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.817, allocations: 154.2 kB / 1.03 GB, free: 39.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005848/1.817, allocations: 220.6 kB / 1.03 GB, free: 39.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003461/1.818, allocations: 123.1 kB / 1.03 GB, free: 39.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.005299/1.823, allocations: 3.599 MB / 1.034 GB, free: 36.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009201/1.832, allocations: 1.782 MB / 1.036 GB, free: 34.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (373): * Single equations (assignments): 360 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006132/1.833, allocations: 172.2 kB / 1.036 GB, free: 34.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.1754/2.008, allocations: 12.23 MB / 1.048 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/2.008, allocations: 0 / 1.048 GB, free: 125.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006195/2.014, allocations: 4.822 MB / 1.052 GB, free: 125.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/2.018, allocations: 0.5392 MB / 1.053 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03091/2.049, allocations: 17.45 MB / 1.07 GB, free: 122.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01023/2.059, allocations: 6.787 MB / 1.077 GB, free: 121.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/2.059, allocations: 0 / 1.077 GB, free: 121.4 MB / 490.7 MB Notification: Performance of Templates: time 0.136/2.195, allocations: 81.76 MB / 1.156 GB, free: 93.37 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1)