Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 100.3 kB / 15.73 MB, free: 6.043 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.001988/0.001988, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.743/1.743, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.3798/0.3798, allocations: 39.94 MB / 309.8 MB, free: 9.438 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.00172/0.00172, allocations: 68.5 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3749, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.01438/0.3893, allocations: 14.21 MB / 0.495 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.4034, allocations: 4.629 MB / 0.4995 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004868/0.4083, allocations: 96.25 kB / 0.4996 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007844/0.4163, allocations: 4.223 MB / 0.5037 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.4235, allocations: 2.266 MB / 0.5059 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.4259, allocations: 0.925 MB / 0.5068 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009707/0.4357, allocations: 5.852 MB / 0.5125 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008277/0.444, allocations: 5.262 MB / 0.5177 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/0.4495, allocations: 2.189 MB / 0.5198 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006107/0.4557, allocations: 2.948 MB / 0.5227 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.4579, allocations: 496 kB / 0.5232 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/0.4621, allocations: 1.362 MB / 0.5245 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004538/0.4666, allocations: 2.654 MB / 0.5271 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006588/0.4732, allocations: 2.999 MB / 0.53 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.4875, allocations: 9.539 MB / 0.5393 GB, free: 4.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4876, allocations: 0 / 0.5393 GB, free: 4.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.4876, allocations: 0 / 0.5393 GB, free: 4.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000358/0.488, allocations: 3.938 kB / 0.5393 GB, free: 4.527 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.01646/0.5044, allocations: 6.338 MB / 0.5455 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5045, allocations: 11.89 kB / 0.5455 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5163, allocations: 2.602 MB / 0.5481 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009722/0.5261, allocations: 4.043 MB / 0.552 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/0.5264, allocations: 312.4 kB / 0.5523 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.5281, allocations: 423.8 kB / 0.5527 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.5541, allocations: 11.97 MB / 0.5644 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.5543, allocations: 59.44 kB / 0.5645 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007067/0.555, allocations: 195.8 kB / 0.5647 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003897/0.559, allocations: 2.203 MB / 0.5668 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.5824, allocations: 10.13 MB / 0.5767 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06608/0.6486, allocations: 46.92 MB / 0.6225 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.66, allocations: 4.383 MB / 0.6268 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003844/0.6639, allocations: 2.515 MB / 0.6293 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3175/0.9814, allocations: 9.978 MB / 0.639 GB, free: 123.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.9815, allocations: 55.89 kB / 0.6391 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=190): time 4.799e-06/0.9815, allocations: 0 / 0.6391 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.05564/1.037, allocations: 20.79 MB / 0.6594 GB, free: 116 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/1.037, allocations: 200.3 kB / 0.6596 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007666/1.045, allocations: 4.824 MB / 0.6643 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004804/1.046, allocations: 56.05 kB / 0.6643 GB, free: 114 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.048, allocations: 3.714 MB / 0.668 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.049, allocations: 0.8162 MB / 0.6687 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/1.051, allocations: 1.383 MB / 0.6701 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/1.051, allocations: 301.1 kB / 0.6704 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/1.054, allocations: 2.559 MB / 0.6729 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/1.058, allocations: 6.515 MB / 0.6792 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008362/1.066, allocations: 9.737 MB / 0.6888 GB, free: 93.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-05/1.067, allocations: 44.84 kB / 0.6888 GB, free: 93.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01888/1.085, allocations: 10.18 MB / 0.6987 GB, free: 83.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.754e-05/1.086, allocations: 75.94 kB / 0.6988 GB, free: 82.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.086, allocations: 136 kB / 0.6989 GB, free: 82.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004115/1.09, allocations: 1.605 MB / 0.7005 GB, free: 81.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/1.095, allocations: 1.552 MB / 0.702 GB, free: 79.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.106, allocations: 10.01 MB / 0.7118 GB, free: 69.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00656/1.113, allocations: 383 kB / 0.7122 GB, free: 69.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.114, allocations: 400 kB / 0.7125 GB, free: 68.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (828): * Single equations (assignments): 823 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005323/1.12, allocations: 2.578 MB / 0.7151 GB, free: 66.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.121, allocations: 422.5 kB / 0.7155 GB, free: 65.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008518/1.13, allocations: 4.542 MB / 0.7199 GB, free: 61.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/1.13, allocations: 24 kB / 0.7199 GB, free: 61.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/1.13, allocations: 8 kB / 0.7199 GB, free: 61.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/1.13, allocations: 15.94 kB / 0.7199 GB, free: 61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/1.151, allocations: 10.27 MB / 0.73 GB, free: 50.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/1.151, allocations: 0 / 0.73 GB, free: 50.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.153, allocations: 331.5 kB / 0.7303 GB, free: 50.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003798/1.157, allocations: 1.355 MB / 0.7316 GB, free: 49.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000393/1.157, allocations: 36 kB / 0.7316 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/1.168, allocations: 9.389 MB / 0.7408 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.168, allocations: 4.031 kB / 0.7408 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/1.18, allocations: 7.461 MB / 0.7481 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/1.182, allocations: 0.7766 MB / 0.7489 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/1.184, allocations: 32 kB / 0.7489 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.187, allocations: 127.8 kB / 0.749 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000546/1.187, allocations: 133.1 kB / 0.7491 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.188, allocations: 55.98 kB / 0.7492 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005812/1.193, allocations: 3.041 MB / 0.7522 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/1.193, allocations: 0 / 0.7522 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008428/1.202, allocations: 1.259 MB / 0.7534 GB, free: 26.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (163): * Single equations (assignments): 158 * 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.0008361/1.203, allocations: 177.3 kB / 0.7536 GB, free: 26.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.213, allocations: 6.304 MB / 0.7597 GB, free: 19.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.213, allocations: 0 / 0.7597 GB, free: 19.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.217, allocations: 2.16 MB / 0.7618 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/1.221, allocations: 0.5483 MB / 0.7624 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/1.244, allocations: 11.65 MB / 0.7737 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007347/1.251, allocations: 4.006 MB / 0.7777 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004972/1.256, allocations: 2.087 MB / 0.7797 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.257, allocations: 279.3 kB / 0.78 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of SimCode: time 1.974e-06/1.257, allocations: 4 kB / 0.78 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.09751/1.355, allocations: 43.73 MB / 0.8227 GB, free: 3.512 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)