Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.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.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.002246/0.002246, allocations: 181 kB / 7.454 MB, free: 2.52 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.465/1.465, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001832/0.001832, allocations: 107.8 kB / 217.7 MB, free: 8.172 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.1795/0.1795, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.885e-06, allocations: 1.125 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 48.72 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.445, allocations: 96 MB / 494.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4453, allocations: 77.73 kB / 494.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.6177/1.063, allocations: 158.3 MB / 0.6373 GB, free: 67.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000427/1.064, allocations: 159.2 kB / 0.6375 GB, free: 67.79 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3108 * Number of variables: 3108 Notification: Performance of Generate backend data structure: time 0.02942/1.093, allocations: 7.456 MB / 0.6448 GB, free: 64.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/1.093, allocations: 6.438 kB / 0.6448 GB, free: 64.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03961/1.133, allocations: 9.056 MB / 0.6536 GB, free: 64.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02523/1.158, allocations: 8.476 MB / 0.6619 GB, free: 63.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005284/1.159, allocations: 271.3 kB / 0.6622 GB, free: 63.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004838/1.163, allocations: 0.4891 MB / 0.6626 GB, free: 63.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02583/1.189, allocations: 13.43 MB / 0.6758 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/1.235, allocations: 19.1 MB / 0.6944 GB, free: 58.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005308/1.236, allocations: 94.23 kB / 0.6945 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003552/1.239, allocations: 42.31 kB / 0.6945 GB, free: 58.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003632/1.243, allocations: 2.239 MB / 0.6967 GB, free: 58.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/1.347, allocations: 82.15 MB / 0.777 GB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1998/1.547, allocations: 8.068 MB / 0.7848 GB, free: 110.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006232/1.553, allocations: 5.284 MB / 0.79 GB, free: 110.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02708/1.581, allocations: 14.82 MB / 0.8045 GB, free: 108.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/1.581, allocations: 76.48 kB / 0.8045 GB, free: 108.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=422): time 9.148e-06/1.581, allocations: 0 / 0.8045 GB, free: 108.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=487): time 0.07821/1.659, allocations: 39.4 MB / 0.843 GB, free: 103 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/1.659, allocations: 225.6 kB / 0.8432 GB, free: 102.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.669, allocations: 5.402 MB / 0.8485 GB, free: 100.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001284/1.671, allocations: 25.7 kB / 0.8485 GB, free: 100.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003496/1.674, allocations: 5.497 MB / 0.8539 GB, free: 96.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002288/1.677, allocations: 1.73 MB / 0.8556 GB, free: 95.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008458/1.677, allocations: 3.188 kB / 0.8556 GB, free: 95.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006161/1.678, allocations: 0.8252 MB / 0.8564 GB, free: 95.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006297/1.684, allocations: 5.07 MB / 0.8614 GB, free: 93.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01079/1.695, allocations: 11.57 MB / 0.8727 GB, free: 82.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.706, allocations: 7.756 MB / 0.8802 GB, free: 80.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/1.707, allocations: 64.44 kB / 0.8803 GB, free: 80.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=1568) (initialization): time 0.0339/1.74, allocations: 16.62 MB / 0.8965 GB, free: 72.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.74, allocations: 4 kB / 0.8965 GB, free: 72.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000351/1.741, allocations: 232 kB / 0.8967 GB, free: 72.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004485/1.745, allocations: 1.658 MB / 0.8984 GB, free: 71.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009818/1.755, allocations: 2.677 MB / 0.901 GB, free: 69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.768, allocations: 12.92 MB / 0.9136 GB, free: 56.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/1.778, allocations: 381.6 kB / 0.914 GB, free: 56.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003751/1.782, allocations: 0.6717 MB / 0.9146 GB, free: 55.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1047 * 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 (1444): * Single equations (assignments): 1431 * 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.004767/1.787, allocations: 0.6793 MB / 0.9153 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/1.789, allocations: 0.5938 MB / 0.9159 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.803, allocations: 9.478 MB / 0.9251 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/1.803, allocations: 79.36 kB / 0.9252 GB, free: 46.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.803, allocations: 8 kB / 0.9252 GB, free: 46.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/1.803, allocations: 23.31 kB / 0.9252 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03263/1.836, allocations: 19.19 MB / 0.944 GB, free: 30.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/1.836, allocations: 8 kB / 0.944 GB, free: 30.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00416/1.84, allocations: 0.6981 MB / 0.9446 GB, free: 29.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003777/1.844, allocations: 1.287 MB / 0.9459 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000808/1.845, allocations: 17.69 kB / 0.9459 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1908/2.036, allocations: 11.77 MB / 0.9574 GB, free: 91.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/2.036, allocations: 10.88 kB / 0.9574 GB, free: 91.03 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02543/2.061, allocations: 16.68 MB / 0.9737 GB, free: 89.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004934/2.066, allocations: 1.39 MB / 0.9751 GB, free: 88.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/2.068, allocations: 18.89 kB / 0.9751 GB, free: 88.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004062/2.072, allocations: 152.6 kB / 0.9752 GB, free: 88.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/2.073, allocations: 213.4 kB / 0.9754 GB, free: 88.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003993/2.073, allocations: 124.3 kB / 0.9756 GB, free: 88.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.006219/2.079, allocations: 3.608 MB / 0.9791 GB, free: 88.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01184/2.091, allocations: 1.777 MB / 0.9808 GB, free: 88.73 MB / 442.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.001069/2.092, allocations: 165.2 kB / 0.981 GB, free: 88.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01994/2.112, allocations: 12.18 MB / 0.9929 GB, free: 88.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/2.112, allocations: 0 / 0.9929 GB, free: 88.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007574/2.12, allocations: 4.83 MB / 0.9976 GB, free: 87.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004847/2.125, allocations: 0.5282 MB / 0.9981 GB, free: 87.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04625/2.171, allocations: 17.47 MB / 1.015 GB, free: 83.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01698/2.188, allocations: 6.786 MB / 1.022 GB, free: 81.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.252e-06/2.188, allocations: 0 / 1.022 GB, free: 81.34 MB / 442.7 MB Notification: Performance of Templates: time 0.151/2.339, allocations: 81.77 MB / 1.102 GB, free: 34.9 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1)