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.001445/0.001445, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002622/0.002622, allocations: 192.6 kB / 16.13 MB, free: 6.605 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.805/1.805, allocations: 205.1 MB / 222 MB, free: 4.75 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.4026/0.4026, allocations: 39.93 MB / 309.3 MB, free: 9.344 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.001581/0.001581, allocations: 63.91 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1439, allocations: 56.89 MB / 433.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.3322/0.4762, allocations: 70.15 MB / 0.4921 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03954/0.5157, allocations: 14.02 MB / 0.5058 GB, free: 104 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02242/0.5382, allocations: 306.6 kB / 0.5061 GB, free: 56 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00919/0.5475, allocations: 4.233 MB / 0.5103 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.5555, allocations: 2.12 MB / 0.5123 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.5582, allocations: 0.8407 MB / 0.5132 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01459/0.5729, allocations: 8.489 MB / 0.5214 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007504/0.5804, allocations: 5.154 MB / 0.5265 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.5852, allocations: 1.936 MB / 0.5284 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006833/0.5921, allocations: 3.146 MB / 0.5314 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.5949, allocations: 336 kB / 0.5318 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/0.6003, allocations: 1.28 MB / 0.533 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00597/0.6063, allocations: 2.521 MB / 0.5355 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006011/0.6123, allocations: 2.855 MB / 0.5383 GB, free: 14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.6238, allocations: 9.167 MB / 0.5472 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.6239, allocations: 4 kB / 0.5472 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6239, allocations: 0 / 0.5472 GB, free: 4.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003645/0.6243, allocations: 0 / 0.5472 GB, free: 4.809 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.02085/0.6451, allocations: 6.327 MB / 0.5534 GB, free: 14.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.6452, allocations: 11.97 kB / 0.5534 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.6577, allocations: 2.606 MB / 0.556 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009846/0.6676, allocations: 3.973 MB / 0.5598 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.6679, allocations: 316.4 kB / 0.5601 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.6697, allocations: 416.1 kB / 0.5605 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02384/0.6935, allocations: 11.99 MB / 0.5722 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001931/0.6938, allocations: 51.58 kB / 0.5723 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006533/0.6944, allocations: 195.8 kB / 0.5725 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003542/0.698, allocations: 2.202 MB / 0.5746 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0207/0.7187, allocations: 10.13 MB / 0.5845 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3075/1.026, allocations: 47.14 MB / 0.6306 GB, free: 134.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.037, allocations: 4.365 MB / 0.6348 GB, free: 133.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.041, allocations: 2.506 MB / 0.6373 GB, free: 133.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/1.056, allocations: 9.992 MB / 0.647 GB, free: 130.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.056, allocations: 53.28 kB / 0.6471 GB, free: 130.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 4.218e-06/1.056, allocations: 0 / 0.6471 GB, free: 130.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05447/1.11, allocations: 20.79 MB / 0.6674 GB, free: 122.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.11, allocations: 204.4 kB / 0.6676 GB, free: 122.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009415/1.12, allocations: 4.823 MB / 0.6723 GB, free: 120.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006161/1.12, allocations: 57.14 kB / 0.6723 GB, free: 120.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003798/1.124, allocations: 3.718 MB / 0.676 GB, free: 117.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002047/1.126, allocations: 0.8159 MB / 0.6768 GB, free: 117.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002508/1.129, allocations: 1.383 MB / 0.6781 GB, free: 116.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.746e-05/1.129, allocations: 301.1 kB / 0.6784 GB, free: 116.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004649/1.134, allocations: 2.559 MB / 0.6809 GB, free: 115.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/1.14, allocations: 6.519 MB / 0.6873 GB, free: 109.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.152, allocations: 9.731 MB / 0.6968 GB, free: 101.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.152, allocations: 36.88 kB / 0.6968 GB, free: 101.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01848/1.17, allocations: 10.19 MB / 0.7068 GB, free: 97.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/1.17, allocations: 65.56 kB / 0.7068 GB, free: 97.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001545/1.17, allocations: 143.4 kB / 0.707 GB, free: 97.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/1.175, allocations: 1.602 MB / 0.7085 GB, free: 96.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005245/1.18, allocations: 1.554 MB / 0.71 GB, free: 94.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/1.191, allocations: 9.372 MB / 0.7192 GB, free: 85.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007711/1.198, allocations: 376.2 kB / 0.7195 GB, free: 85.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001916/1.2, allocations: 408 kB / 0.7199 GB, free: 84.81 MB / 494.1 MB 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.006562/1.207, allocations: 2.572 MB / 0.7225 GB, free: 82.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/1.208, allocations: 422.5 kB / 0.7229 GB, free: 81.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008308/1.217, allocations: 4.549 MB / 0.7273 GB, free: 77.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.282e-05/1.217, allocations: 20 kB / 0.7273 GB, free: 77.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/1.217, allocations: 11.47 kB / 0.7273 GB, free: 77.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/1.217, allocations: 15.89 kB / 0.7273 GB, free: 77.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/1.235, allocations: 10.32 MB / 0.7374 GB, free: 66.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/1.236, allocations: 0 / 0.7374 GB, free: 66.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.237, allocations: 327.6 kB / 0.7377 GB, free: 66.53 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003613/1.241, allocations: 1.359 MB / 0.7391 GB, free: 65.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/1.241, allocations: 36 kB / 0.7391 GB, free: 65.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008796/1.25, allocations: 8.732 MB / 0.7476 GB, free: 56.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.25, allocations: 8.797 kB / 0.7476 GB, free: 56.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.261, allocations: 7.463 MB / 0.7549 GB, free: 48.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/1.263, allocations: 0.7728 MB / 0.7557 GB, free: 47.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.264, allocations: 32 kB / 0.7557 GB, free: 47.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.266, allocations: 134.7 kB / 0.7558 GB, free: 47.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/1.266, allocations: 125.1 kB / 0.756 GB, free: 47.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.267, allocations: 56 kB / 0.756 GB, free: 47.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004351/1.271, allocations: 3.045 MB / 0.759 GB, free: 44.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.092e-06/1.271, allocations: 0 / 0.759 GB, free: 44.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008472/1.28, allocations: 1.256 MB / 0.7602 GB, free: 43.21 MB / 494.1 MB 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.0008104/1.28, allocations: 169.6 kB / 0.7604 GB, free: 43.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01536/1.296, allocations: 6.298 MB / 0.7665 GB, free: 36.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.296, allocations: 0.6562 kB / 0.7665 GB, free: 36.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005663/1.301, allocations: 2.16 MB / 0.7686 GB, free: 34.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00875/1.31, allocations: 0.5164 MB / 0.7691 GB, free: 34.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04141/1.352, allocations: 14.31 MB / 0.7831 GB, free: 19.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/1.363, allocations: 4 MB / 0.787 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01085/1.374, allocations: 2.079 MB / 0.789 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.376, allocations: 287.4 kB / 0.7893 GB, free: 13.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/1.376, allocations: 0 / 0.7893 GB, free: 13.36 MB / 494.1 MB Notification: Performance of Templates: time 0.3229/1.699, allocations: 45.42 MB / 0.8337 GB, free: 137.3 MB / 0.4981 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)