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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008453/0.008453, allocations: 99.14 kB / 15.73 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.00145/0.00145, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.324 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.3828/0.3828, allocations: 39.94 MB / 309.8 MB, free: 9.574 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.001635/0.001635, allocations: 71.89 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4215, allocations: 56.88 MB / 492.7 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01672/0.4383, allocations: 14.28 MB / 0.4951 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.4519, allocations: 4.65 MB / 0.4996 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00459/0.4566, allocations: 92.84 kB / 0.4997 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008208/0.4648, allocations: 4.227 MB / 0.5038 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00933/0.4742, allocations: 2.262 MB / 0.506 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.4777, allocations: 0.9255 MB / 0.5069 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.4902, allocations: 5.908 MB / 0.5127 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.501, allocations: 5.292 MB / 0.5179 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006372/0.5074, allocations: 2.212 MB / 0.52 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/0.5135, allocations: 2.94 MB / 0.5229 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002068/0.5156, allocations: 500 kB / 0.5234 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.5202, allocations: 1.362 MB / 0.5247 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005336/0.5256, allocations: 2.661 MB / 0.5273 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006934/0.5325, allocations: 3.007 MB / 0.5302 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.5463, allocations: 9.562 MB / 0.5396 GB, free: 4.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.5463, allocations: 3.938 kB / 0.5396 GB, free: 4.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5463, allocations: 3.938 kB / 0.5396 GB, free: 4.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.5467, allocations: 4 kB / 0.5396 GB, free: 4.441 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01828/0.565, allocations: 6.33 MB / 0.5458 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.565, allocations: 19.83 kB / 0.5458 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/0.5774, allocations: 2.618 MB / 0.5484 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.5892, allocations: 4.031 MB / 0.5523 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.5896, allocations: 316.5 kB / 0.5526 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002294/0.5919, allocations: 443.8 kB / 0.553 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/0.6201, allocations: 12.24 MB / 0.565 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003211/0.6204, allocations: 55.48 kB / 0.565 GB, free: 9.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/0.6221, allocations: 195.8 kB / 0.5652 GB, free: 9.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004905/0.627, allocations: 2.206 MB / 0.5674 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02638/0.6535, allocations: 10.54 MB / 0.5777 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07909/0.7326, allocations: 47.36 MB / 0.6239 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.745, allocations: 4.603 MB / 0.6284 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004767/0.7499, allocations: 2.646 MB / 0.631 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3768/1.127, allocations: 10.44 MB / 0.6412 GB, free: 123 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.127, allocations: 59.52 kB / 0.6412 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 4.96e-06/1.127, allocations: 1.562 kB / 0.6412 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=218): time 0.05557/1.182, allocations: 20.99 MB / 0.6617 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/1.183, allocations: 204 kB / 0.6619 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008377/1.191, allocations: 4.824 MB / 0.6666 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005575/1.192, allocations: 57.86 kB / 0.6667 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/1.194, allocations: 3.73 MB / 0.6703 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.195, allocations: 0.8303 MB / 0.6711 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00208/1.197, allocations: 1.39 MB / 0.6725 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/1.197, allocations: 309 kB / 0.6728 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/1.201, allocations: 2.573 MB / 0.6753 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/1.205, allocations: 6.561 MB / 0.6817 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009382/1.215, allocations: 9.796 MB / 0.6913 GB, free: 91.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.977e-05/1.215, allocations: 40 kB / 0.6913 GB, free: 91.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01761/1.233, allocations: 10.27 MB / 0.7013 GB, free: 80.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.233, allocations: 68 kB / 0.7014 GB, free: 80.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.233, allocations: 140 kB / 0.7015 GB, free: 80.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/1.237, allocations: 1.62 MB / 0.7031 GB, free: 78.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005215/1.242, allocations: 1.563 MB / 0.7047 GB, free: 77.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/1.254, allocations: 10.25 MB / 0.7147 GB, free: 66.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/1.26, allocations: 379.4 kB / 0.715 GB, free: 66.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.261, allocations: 407.6 kB / 0.7154 GB, free: 66.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006152/1.267, allocations: 2.577 MB / 0.7179 GB, free: 63.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/1.269, allocations: 430.5 kB / 0.7183 GB, free: 63.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0089/1.278, allocations: 4.621 MB / 0.7229 GB, free: 58.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/1.278, allocations: 24 kB / 0.7229 GB, free: 58.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.886e-05/1.278, allocations: 8 kB / 0.7229 GB, free: 58.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/1.278, allocations: 11.95 kB / 0.7229 GB, free: 58.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.304, allocations: 10.44 MB / 0.7331 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.367e-05/1.304, allocations: 0 / 0.7331 GB, free: 47.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.306, allocations: 343.5 kB / 0.7334 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003859/1.31, allocations: 1.363 MB / 0.7348 GB, free: 46.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002766/1.31, allocations: 35.67 kB / 0.7348 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/1.32, allocations: 9.388 MB / 0.744 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.321, allocations: 0 / 0.744 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.332, allocations: 7.563 MB / 0.7513 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002927/1.335, allocations: 0.7805 MB / 0.7521 GB, free: 28.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.336, allocations: 43.84 kB / 0.7521 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.339, allocations: 131.8 kB / 0.7523 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/1.34, allocations: 129.8 kB / 0.7524 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.34, allocations: 58.7 kB / 0.7524 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006637/1.347, allocations: 3.041 MB / 0.7554 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.463e-06/1.347, allocations: 4 kB / 0.7554 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008758/1.356, allocations: 1.264 MB / 0.7567 GB, free: 23.43 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000864/1.356, allocations: 173.2 kB / 0.7568 GB, free: 23.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.367, allocations: 6.392 MB / 0.7631 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.367, allocations: 4.062 kB / 0.7631 GB, free: 16.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003403/1.37, allocations: 2.191 MB / 0.7652 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005449/1.376, allocations: 0.5667 MB / 0.7658 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.399, allocations: 11.72 MB / 0.7772 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005423/1.405, allocations: 3.999 MB / 0.7811 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005391/1.41, allocations: 2.085 MB / 0.7831 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009247/1.411, allocations: 287.4 kB / 0.7834 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/1.411, allocations: 0 / 0.7834 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.09845/1.509, allocations: 43.97 MB / 0.8264 GB, free: 108 kB / 0.545 GB 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)