Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005547/0.005547, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.279/1.279, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001715/0.001715, allocations: 119.3 kB / 226.2 MB, free: 10.12 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.3196/0.3196, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.000625, allocations: 8 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1151, allocations: 48.71 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3812/0.4964, allocations: 95.25 MB / 0.495 GB, free: 8.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4967, allocations: 86.44 kB / 0.495 GB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5323/1.029, allocations: 106.2 MB / 0.5988 GB, free: 72.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.871e-06/1.029, allocations: 0 / 0.5988 GB, free: 72.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003339/1.029, allocations: 110.6 kB / 0.5989 GB, free: 72.07 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: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.02143/1.051, allocations: 5.733 MB / 0.6045 GB, free: 69.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/1.051, allocations: 15.38 kB / 0.6045 GB, free: 69.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02777/1.079, allocations: 6.88 MB / 0.6112 GB, free: 69.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/1.098, allocations: 6.892 MB / 0.6179 GB, free: 68.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007733/1.098, allocations: 410.4 kB / 0.6183 GB, free: 68.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003399/1.102, allocations: 0.5302 MB / 0.6188 GB, free: 68.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0366/1.138, allocations: 12.41 MB / 0.631 GB, free: 65.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007393/1.139, allocations: 75.73 kB / 0.631 GB, free: 65.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003472/1.143, allocations: 255.2 kB / 0.6313 GB, free: 65.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002463/1.145, allocations: 1.128 MB / 0.6324 GB, free: 65.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/1.169, allocations: 9.976 MB / 0.6421 GB, free: 65.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07357/1.243, allocations: 56.5 MB / 0.6973 GB, free: 22.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009714/1.252, allocations: 4.147 MB / 0.7013 GB, free: 21.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/1.268, allocations: 9.504 MB / 0.7106 GB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/1.268, allocations: 58.38 kB / 0.7107 GB, free: 16.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.861e-06/1.268, allocations: 4 kB / 0.7107 GB, free: 16.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.05129/1.32, allocations: 19.33 MB / 0.7296 GB, free: 4.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/1.32, allocations: 205.2 kB / 0.7298 GB, free: 4.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005577/1.325, allocations: 4.238 MB / 0.7339 GB, free: 1.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000381/1.326, allocations: 57.7 kB / 0.734 GB, free: 1.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/1.328, allocations: 3.764 MB / 0.7376 GB, free: 13.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.33, allocations: 0.8302 MB / 0.7384 GB, free: 12.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/1.33, allocations: 132 kB / 0.7386 GB, free: 12.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003978/1.33, allocations: 0.5809 MB / 0.7391 GB, free: 12.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/1.334, allocations: 2.241 MB / 0.7413 GB, free: 10.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006251/1.34, allocations: 6.184 MB / 0.7474 GB, free: 2.742 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3039/1.644, allocations: 3.657 MB / 0.7509 GB, free: 77.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/1.644, allocations: 40 kB / 0.751 GB, free: 77.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02057/1.665, allocations: 8.93 MB / 0.7597 GB, free: 77.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.665, allocations: 67.62 kB / 0.7598 GB, free: 77.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/1.665, allocations: 138.8 kB / 0.7599 GB, free: 77.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/1.668, allocations: 0.9294 MB / 0.7608 GB, free: 77.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005146/1.673, allocations: 1.507 MB / 0.7623 GB, free: 77.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008408/1.681, allocations: 7.606 MB / 0.7697 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006038/1.687, allocations: 356.7 kB / 0.77 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.689, allocations: 403.1 kB / 0.7704 GB, free: 74.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (795): * Single equations (assignments): 790 * 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.005797/1.695, allocations: 2.566 MB / 0.7729 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/1.696, allocations: 431.2 kB / 0.7733 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/1.703, allocations: 3.599 MB / 0.7769 GB, free: 74.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/1.703, allocations: 25 kB / 0.7769 GB, free: 74.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/1.703, allocations: 6.812 kB / 0.7769 GB, free: 74.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/1.703, allocations: 11.38 kB / 0.7769 GB, free: 74.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/1.727, allocations: 9.263 MB / 0.7859 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-05/1.727, allocations: 1.156 kB / 0.7859 GB, free: 73.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.729, allocations: 349 kB / 0.7863 GB, free: 73.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00236/1.731, allocations: 0.6875 MB / 0.7869 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/1.732, allocations: 40.52 kB / 0.787 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008868/1.74, allocations: 6.747 MB / 0.7936 GB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.74, allocations: 1.344 kB / 0.7936 GB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009042/1.749, allocations: 6.334 MB / 0.7998 GB, free: 67.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002576/1.752, allocations: 0.7445 MB / 0.8005 GB, free: 67.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009356/1.753, allocations: 35.31 kB / 0.8005 GB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.755, allocations: 119.4 kB / 0.8006 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/1.755, allocations: 131.9 kB / 0.8008 GB, free: 67.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.755, allocations: 54.7 kB / 0.8008 GB, free: 67.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005025/1.76, allocations: 3.009 MB / 0.8038 GB, free: 66.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.76, allocations: 0 / 0.8038 GB, free: 66.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006667/1.767, allocations: 1.181 MB / 0.8049 GB, free: 66.28 MB / 442.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 () * Number of clocked 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.0005342/1.768, allocations: 177.3 kB / 0.8051 GB, free: 66.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009341/1.777, allocations: 5.722 MB / 0.8107 GB, free: 64.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.777, allocations: 0 / 0.8107 GB, free: 64.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003419/1.781, allocations: 1.991 MB / 0.8126 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/1.784, allocations: 0.5241 MB / 0.8131 GB, free: 62.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/1.808, allocations: 13.38 MB / 0.8262 GB, free: 56.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00476/1.813, allocations: 4.114 MB / 0.8302 GB, free: 54.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00509/1.818, allocations: 2.096 MB / 0.8323 GB, free: 54.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000837/1.819, allocations: 284.8 kB / 0.8325 GB, free: 54.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/1.819, allocations: 0 / 0.8325 GB, free: 54.64 MB / 442.7 MB Notification: Performance of Templates: time 0.07211/1.891, allocations: 40.99 MB / 0.8726 GB, free: 35.89 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)