Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002437/0.002437, allocations: 185.7 kB / 7.458 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.118/1.118, allocations: 194.2 MB / 202.1 MB, free: 8.711 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.00181/0.00181, allocations: 125 kB / 247.1 MB, free: 6.312 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.1737/0.1737, allocations: 39.95 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.341e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09618, allocations: 54.86 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.3751, allocations: 101.7 MB / 0.5364 GB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.3755, allocations: 84.2 kB / 0.5365 GB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2699/0.6454, allocations: 102.8 MB / 0.6369 GB, free: 15.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003744/0.6458, allocations: 112 kB / 0.637 GB, free: 15.79 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.01672/0.6625, allocations: 5.228 MB / 0.6421 GB, free: 10.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6626, allocations: 8.031 kB / 0.6421 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02737/0.69, allocations: 6.559 MB / 0.6485 GB, free: 3.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01779/0.7078, allocations: 6.961 MB / 0.6553 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.7081, allocations: 176 kB / 0.6555 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002583/0.7107, allocations: 327.8 kB / 0.6558 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01453/0.7253, allocations: 7.791 MB / 0.6634 GB, free: 4.594 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1492/0.8745, allocations: 11.55 MB / 0.6747 GB, free: 147.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.8747, allocations: 70.16 kB / 0.6748 GB, free: 147.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/0.8753, allocations: 37.59 kB / 0.6748 GB, free: 147.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/0.8764, allocations: 1.21 MB / 0.676 GB, free: 147.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04543/0.9218, allocations: 57.19 MB / 0.7318 GB, free: 114.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.9258, allocations: 3.601 MB / 0.7353 GB, free: 113.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.9283, allocations: 2.566 MB / 0.7378 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009945/0.9382, allocations: 7.988 MB / 0.7456 GB, free: 109 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.9383, allocations: 57.34 kB / 0.7457 GB, free: 109 MB / 474.7 MB Notification: Performance of pre-optimization done (n=192): time 4.489e-06/0.9383, allocations: 0 / 0.7457 GB, free: 109 MB / 474.7 MB Notification: Performance of matching and sorting (n=218): time 0.03377/0.9721, allocations: 18.06 MB / 0.7633 GB, free: 101.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.9722, allocations: 203.3 kB / 0.7635 GB, free: 101.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.9768, allocations: 3.72 MB / 0.7672 GB, free: 99.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.9771, allocations: 25.7 kB / 0.7672 GB, free: 99.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.9786, allocations: 3.462 MB / 0.7706 GB, free: 97.33 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006811/0.9793, allocations: 0.8048 MB / 0.7714 GB, free: 96.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.9795, allocations: 0 / 0.7714 GB, free: 96.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002587/0.9798, allocations: 0.5921 MB / 0.7719 GB, free: 96.31 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.9821, allocations: 2.176 MB / 0.7741 GB, free: 95.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/0.9859, allocations: 6.256 MB / 0.7802 GB, free: 89.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/0.9905, allocations: 3.706 MB / 0.7838 GB, free: 88.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.397e-05/0.9906, allocations: 45.03 kB / 0.7838 GB, free: 88.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.01162/1.002, allocations: 8.153 MB / 0.7918 GB, free: 82.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.002, allocations: 4 kB / 0.7918 GB, free: 82.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.83e-05/1.002, allocations: 144 kB / 0.7919 GB, free: 82.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/1.005, allocations: 0.9244 MB / 0.7928 GB, free: 81.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004203/1.009, allocations: 1.547 MB / 0.7943 GB, free: 80.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006732/1.016, allocations: 6.895 MB / 0.8011 GB, free: 73.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/1.021, allocations: 205.1 kB / 0.8013 GB, free: 73.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009445/1.022, allocations: 415.2 kB / 0.8017 GB, free: 73.04 MB / 474.7 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 (825): * Single equations (assignments): 820 * 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.0009438/1.023, allocations: 481.2 kB / 0.8021 GB, free: 72.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006199/1.023, allocations: 398.8 kB / 0.8025 GB, free: 72.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/1.029, allocations: 3.42 MB / 0.8059 GB, free: 69.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/1.029, allocations: 23.8 kB / 0.8059 GB, free: 69.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.029, allocations: 8 kB / 0.8059 GB, free: 69.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/1.029, allocations: 6.797 kB / 0.8059 GB, free: 69.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/1.042, allocations: 8.21 MB / 0.8139 GB, free: 62.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.042, allocations: 0 / 0.8139 GB, free: 62.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/1.043, allocations: 332.3 kB / 0.8142 GB, free: 62.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/1.046, allocations: 0.6685 MB / 0.8149 GB, free: 61.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/1.046, allocations: 8 kB / 0.8149 GB, free: 61.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005874/1.052, allocations: 6.046 MB / 0.8208 GB, free: 56.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.052, allocations: 0 / 0.8208 GB, free: 56.14 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007822/1.059, allocations: 6.264 MB / 0.8269 GB, free: 50.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.061, allocations: 0.6983 MB / 0.8276 GB, free: 49.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/1.062, allocations: 7.906 kB / 0.8276 GB, free: 49.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.063, allocations: 59.64 kB / 0.8277 GB, free: 49.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/1.064, allocations: 99.81 kB / 0.8277 GB, free: 49.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.064, allocations: 62.88 kB / 0.8278 GB, free: 49.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003411/1.067, allocations: 2.535 MB / 0.8303 GB, free: 47.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005199/1.072, allocations: 1.009 MB / 0.8313 GB, free: 46.5 MB / 474.7 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 (169): * Single equations (assignments): 164 * 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.0004347/1.073, allocations: 144.2 kB / 0.8314 GB, free: 46.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006853/1.08, allocations: 5.429 MB / 0.8367 GB, free: 41.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.08, allocations: 4.562 kB / 0.8367 GB, free: 41.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002301/1.082, allocations: 1.863 MB / 0.8385 GB, free: 39.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.084, allocations: 435.9 kB / 0.8389 GB, free: 39.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.099, allocations: 9.341 MB / 0.8481 GB, free: 30.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00471/1.104, allocations: 4.404 MB / 0.8524 GB, free: 27.59 MB / 474.7 MB Notification: Performance of SimCode: time 1.673e-06/1.104, allocations: 0 / 0.8524 GB, free: 27.59 MB / 474.7 MB Notification: Performance of Templates: time 0.222/1.326, allocations: 42.35 MB / 0.8937 GB, free: 131.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)