Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") [: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.0035/0.0035, allocations: 186.5 kB / 7.459 MB, free: 2.512 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.156/1.156, allocations: 194.2 MB / 202.1 MB, free: 8.715 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.001795/0.001794, allocations: 119.6 kB / 247.1 MB, free: 6.406 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.1585/0.1585, allocations: 39.94 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.977e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08944/0.08947, allocations: 54.86 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3848, allocations: 102.5 MB / 0.5372 GB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.385, allocations: 78.61 kB / 0.5373 GB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.822/1.207, allocations: 275.7 MB / 0.8065 GB, free: 34.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001049/1.208, allocations: 275.9 kB / 0.8068 GB, free: 34.65 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: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.04358/1.252, allocations: 13.09 MB / 0.8196 GB, free: 21.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.252, allocations: 12.03 kB / 0.8196 GB, free: 21.48 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06989/1.322, allocations: 16.85 MB / 0.8361 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04145/1.363, allocations: 15.02 MB / 0.8507 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009179/1.364, allocations: 480 kB / 0.8512 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00826/1.372, allocations: 0.8629 MB / 0.852 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.229/1.601, allocations: 24.85 MB / 0.8763 GB, free: 99.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07304/1.674, allocations: 33.6 MB / 0.9091 GB, free: 93.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007144/1.675, allocations: 131.5 kB / 0.9092 GB, free: 93.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006746/1.682, allocations: 60.25 kB / 0.9093 GB, free: 93.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005282/1.687, allocations: 3.964 MB / 0.9132 GB, free: 93.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1909/1.878, allocations: 137.9 MB / 1.048 GB, free: 1.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2365/2.115, allocations: 13.33 MB / 1.061 GB, free: 93.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01231/2.127, allocations: 9.97 MB / 1.071 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06667/2.194, allocations: 35.75 MB / 1.105 GB, free: 88.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/2.194, allocations: 105.6 kB / 1.106 GB, free: 88.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=747): time 1.976e-05/2.194, allocations: 7.719 kB / 1.106 GB, free: 88.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=819): time 0.1627/2.357, allocations: 69.24 MB / 1.173 GB, free: 68.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/2.357, allocations: 312.1 kB / 1.174 GB, free: 68.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0222/2.379, allocations: 8.805 MB / 1.182 GB, free: 63.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00189/2.381, allocations: 25.7 kB / 1.182 GB, free: 63.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008112/2.389, allocations: 9.269 MB / 1.191 GB, free: 54.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005557/2.395, allocations: 2.881 MB / 1.194 GB, free: 52.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003501/2.398, allocations: 0 / 1.194 GB, free: 52.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.002464/2.401, allocations: 1.144 MB / 1.195 GB, free: 51.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01337/2.414, allocations: 8.115 MB / 1.203 GB, free: 44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2853/2.699, allocations: 18.34 MB / 1.221 GB, free: 71.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02364/2.723, allocations: 12.41 MB / 1.233 GB, free: 71.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005233/2.724, allocations: 103.2 kB / 1.233 GB, free: 71.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=2527) (initialization): time 0.06238/2.786, allocations: 26.28 MB / 1.259 GB, free: 70.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/2.786, allocations: 3.906 kB / 1.259 GB, free: 70.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001257/2.787, allocations: 359.2 kB / 1.259 GB, free: 70.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007628/2.795, allocations: 2.333 MB / 1.261 GB, free: 70.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01924/2.814, allocations: 4.391 MB / 1.266 GB, free: 70.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/2.831, allocations: 12.87 MB / 1.278 GB, free: 67.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01575/2.847, allocations: 0.6094 MB / 1.279 GB, free: 67.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004667/2.852, allocations: 1.066 MB / 1.28 GB, free: 67.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1640 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2331): * Single equations (assignments): 2314 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005082/2.857, allocations: 1.006 MB / 1.281 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/2.86, allocations: 0.9894 MB / 1.282 GB, free: 66.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/2.883, allocations: 15.36 MB / 1.297 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002546/2.884, allocations: 145.3 kB / 1.297 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.466e-05/2.884, allocations: 9.969 kB / 1.297 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.264e-05/2.884, allocations: 37.02 kB / 1.297 GB, free: 66.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07652/2.96, allocations: 31.42 MB / 1.328 GB, free: 57.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.779e-05/2.96, allocations: 0 / 1.328 GB, free: 57.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008054/2.968, allocations: 1.252 MB / 1.329 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0062/2.975, allocations: 1.706 MB / 1.331 GB, free: 56.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001861/2.977, allocations: 20.73 kB / 1.331 GB, free: 56.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/2.992, allocations: 11.69 MB / 1.342 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/2.992, allocations: 1.344 kB / 1.342 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04086/3.033, allocations: 25.17 MB / 1.367 GB, free: 29.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007041/3.04, allocations: 2.215 MB / 1.369 GB, free: 27.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004219/3.045, allocations: 0 / 1.369 GB, free: 27.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007883/3.052, allocations: 283.5 kB / 1.369 GB, free: 27.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002006/3.054, allocations: 343.6 kB / 1.369 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001589/3.056, allocations: 183.2 kB / 1.37 GB, free: 27.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.01325/3.069, allocations: 5.905 MB / 1.375 GB, free: 22.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02179/3.091, allocations: 2.961 MB / 1.378 GB, free: 19.24 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (645): * Single equations (assignments): 628 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001773/3.093, allocations: 191 kB / 1.378 GB, free: 19.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2812/3.374, allocations: 19.97 MB / 1.398 GB, free: 74.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/3.374, allocations: 2.906 kB / 1.398 GB, free: 74.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01331/3.388, allocations: 7.384 MB / 1.405 GB, free: 74.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009376/3.397, allocations: 0.9017 MB / 1.406 GB, free: 74.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07926/3.476, allocations: 29.49 MB / 1.435 GB, free: 69.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02888/3.505, allocations: 11.38 MB / 1.446 GB, free: 68.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/3.505, allocations: 0 / 1.446 GB, free: 68.29 MB / 490.7 MB Notification: Performance of Templates: time 0.517/4.022, allocations: 120.5 MB / 1.564 GB, free: 69.16 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1)