Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007607/0.007607, allocations: 105 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 196 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4256/0.4256, allocations: 39.95 MB / 309.8 MB, free: 9.414 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 75.89 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3639, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.01862/0.3825, allocations: 17.5 MB / 0.4982 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.4001, allocations: 5.438 MB / 0.5035 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005905/0.406, allocations: 121.9 kB / 0.5036 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.4166, allocations: 5.293 MB / 0.5088 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.428, allocations: 2.686 MB / 0.5114 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004393/0.4324, allocations: 1.206 MB / 0.5126 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01911/0.4516, allocations: 7.816 MB / 0.5202 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01547/0.4671, allocations: 7.013 MB / 0.5271 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00873/0.4759, allocations: 2.808 MB / 0.5298 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00768/0.4836, allocations: 3.739 MB / 0.5335 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002379/0.486, allocations: 0.6133 MB / 0.5341 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.4905, allocations: 1.491 MB / 0.5355 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004391/0.4949, allocations: 3.363 MB / 0.5388 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006026/0.501, allocations: 3.761 MB / 0.5425 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.5187, allocations: 11.68 MB / 0.5539 GB, free: 5.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5188, allocations: 0 / 0.5539 GB, free: 5.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5188, allocations: 0 / 0.5539 GB, free: 5.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004478/0.5192, allocations: 0 / 0.5539 GB, free: 5.57 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2235 * Number of variables: 2235 Notification: Performance of Generate backend data structure: time 0.02495/0.5442, allocations: 8.167 MB / 0.5619 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.5443, allocations: 11.89 kB / 0.5619 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03889/0.5832, allocations: 4.146 MB / 0.5659 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.5997, allocations: 5.251 MB / 0.5711 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003792/0.6001, allocations: 386.3 kB / 0.5714 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/0.6023, allocations: 0.531 MB / 0.5719 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03244/0.6348, allocations: 15.85 MB / 0.5874 GB, free: 2.141 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.6351, allocations: 67.42 kB / 0.5875 GB, free: 2.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.6362, allocations: 239.8 kB / 0.5877 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005814/0.642, allocations: 2.911 MB / 0.5906 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/0.6749, allocations: 14.28 MB / 0.6045 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3959/1.071, allocations: 62.63 MB / 0.6657 GB, free: 88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/1.09, allocations: 7.293 MB / 0.6728 GB, free: 85.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007027/1.097, allocations: 5.562 MB / 0.6782 GB, free: 83.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02823/1.125, allocations: 18.37 MB / 0.6962 GB, free: 73.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/1.125, allocations: 70.3 kB / 0.6962 GB, free: 73.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=310): time 6.101e-06/1.125, allocations: 0 / 0.6962 GB, free: 73.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=394): time 0.1467/1.272, allocations: 60.39 MB / 0.7552 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.272, allocations: 325.4 kB / 0.7555 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008425/1.281, allocations: 5.9 MB / 0.7613 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00155/1.282, allocations: 85.7 kB / 0.7614 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002312/1.285, allocations: 4.336 MB / 0.7656 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002168/1.287, allocations: 1.434 MB / 0.767 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00271/1.289, allocations: 1.828 MB / 0.7688 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/1.289, allocations: 305.1 kB / 0.7691 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006225/1.296, allocations: 5.182 MB / 0.7741 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/1.307, allocations: 9.639 MB / 0.7835 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02185/1.329, allocations: 15.72 MB / 0.7989 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000135/1.329, allocations: 44 kB / 0.7989 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.04517/1.374, allocations: 19.61 MB / 0.8181 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002061/1.374, allocations: 71.98 kB / 0.8182 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003342/1.375, allocations: 152.8 kB / 0.8183 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01692/1.392, allocations: 5.437 MB / 0.8236 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0088/1.4, allocations: 2.082 MB / 0.8257 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04822/1.449, allocations: 29.19 MB / 0.8542 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/1.461, allocations: 0.628 MB / 0.8548 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003042/1.464, allocations: 0.496 MB / 0.8553 GB, free: 9.082 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 57 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (14,41,44.4%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008785/1.473, allocations: 3.156 MB / 0.8583 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/1.475, allocations: 0.5361 MB / 0.8589 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4079/1.883, allocations: 13.99 MB / 0.8725 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/1.883, allocations: 40.31 kB / 0.8726 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.43e-05/1.883, allocations: 16.94 kB / 0.8726 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.917e-05/1.883, allocations: 19.36 kB / 0.8726 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05195/1.935, allocations: 24.08 MB / 0.8961 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.898e-05/1.935, allocations: 8.25 kB / 0.8961 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004313/1.94, allocations: 0.68 MB / 0.8968 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0149/1.955, allocations: 5.217 MB / 0.9019 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/1.956, allocations: 72.39 kB / 0.9019 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03594/1.992, allocations: 28.51 MB / 0.9298 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.992, allocations: 0 / 0.9298 GB, free: 168.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03647/2.028, allocations: 20.7 MB / 0.95 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006107/2.035, allocations: 1.494 MB / 0.9515 GB, free: 146.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002166/2.037, allocations: 63.72 kB / 0.9515 GB, free: 146.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005856/2.043, allocations: 371.4 kB / 0.9519 GB, free: 146.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/2.044, allocations: 247.1 kB / 0.9521 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005398/2.045, allocations: 95.98 kB / 0.9522 GB, free: 146 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006492/2.051, allocations: 3.781 MB / 0.9559 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.693e-06/2.051, allocations: 3.938 kB / 0.9559 GB, free: 142.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01259/2.064, allocations: 2.01 MB / 0.9579 GB, free: 140.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (305): * Single equations (assignments): 299 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,12,100.0%), (14,41,43.9%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001912/2.066, allocations: 217.2 kB / 0.9581 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02187/2.088, allocations: 13.4 MB / 0.9712 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/2.088, allocations: 0 / 0.9712 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/2.099, allocations: 6.47 MB / 0.9775 GB, free: 120.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005341/2.104, allocations: 0.7484 MB / 0.9782 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03068/2.135, allocations: 17.98 MB / 0.9958 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007472/2.142, allocations: 4.938 MB / 1.001 GB, free: 96.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007173/2.15, allocations: 2.899 MB / 1.003 GB, free: 93.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/2.152, allocations: 399.3 kB / 1.004 GB, free: 93.31 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/2.152, allocations: 3.172 kB / 1.004 GB, free: 93.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.4722/2.624, allocations: 94.23 MB / 1.096 GB, free: 182.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)