Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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 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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001427/0.001427, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001793/0.001793, allocations: 193.9 kB / 16.13 MB, free: 6.652 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 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3724/0.3724, allocations: 37.98 MB / 307.3 MB, free: 10.14 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.1. 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.001475/0.001475, allocations: 74.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1617, allocations: 56.47 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.3762/0.5379, allocations: 70.13 MB / 0.4894 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04296/0.5809, allocations: 14.03 MB / 0.5031 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02475/0.6057, allocations: 311.1 kB / 0.5034 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009875/0.6157, allocations: 4.223 MB / 0.5075 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.6264, allocations: 2.125 MB / 0.5096 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003626/0.63, allocations: 0.8524 MB / 0.5104 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01885/0.6489, allocations: 8.484 MB / 0.5187 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.6619, allocations: 5.148 MB / 0.5238 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007627/0.6696, allocations: 1.939 MB / 0.5256 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008375/0.678, allocations: 3.146 MB / 0.5287 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003536/0.6816, allocations: 339.3 kB / 0.529 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006586/0.6882, allocations: 1.274 MB / 0.5303 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005278/0.6936, allocations: 2.525 MB / 0.5328 GB, free: 5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007411/0.701, allocations: 2.854 MB / 0.5355 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.7149, allocations: 9.167 MB / 0.5445 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.715, allocations: 0 / 0.5445 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.715, allocations: 0 / 0.5445 GB, free: 8.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004818/0.7155, allocations: 0 / 0.5445 GB, free: 8.934 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.02075/0.7363, allocations: 6.326 MB / 0.5507 GB, free: 2.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.952e-05/0.7364, allocations: 12.03 kB / 0.5507 GB, free: 2.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.75, allocations: 2.602 MB / 0.5532 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/0.7632, allocations: 3.977 MB / 0.5571 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005424/0.7638, allocations: 312.4 kB / 0.5574 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003263/0.7671, allocations: 420 kB / 0.5578 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/0.8002, allocations: 11.97 MB / 0.5695 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/0.8006, allocations: 63.42 kB / 0.5696 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001993/0.8026, allocations: 203.8 kB / 0.5697 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004633/0.8073, allocations: 2.195 MB / 0.5719 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/0.8307, allocations: 10.14 MB / 0.5818 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08014/0.9109, allocations: 47.13 MB / 0.6278 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2818/1.193, allocations: 4.378 MB / 0.6321 GB, free: 147 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/1.196, allocations: 2.508 MB / 0.6345 GB, free: 146.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/1.209, allocations: 9.983 MB / 0.6443 GB, free: 141.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/1.209, allocations: 60.69 kB / 0.6443 GB, free: 141.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 5.821e-06/1.209, allocations: 0 / 0.6443 GB, free: 141.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.05353/1.263, allocations: 20.79 MB / 0.6647 GB, free: 134.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.9e-05/1.263, allocations: 201 kB / 0.6648 GB, free: 134.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009194/1.272, allocations: 4.828 MB / 0.6696 GB, free: 132.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/1.273, allocations: 56.23 kB / 0.6696 GB, free: 132.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003125/1.276, allocations: 3.711 MB / 0.6732 GB, free: 129.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/1.277, allocations: 0.8162 MB / 0.674 GB, free: 128.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/1.28, allocations: 1.388 MB / 0.6754 GB, free: 128.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.26e-05/1.28, allocations: 303 kB / 0.6757 GB, free: 127.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004366/1.284, allocations: 2.552 MB / 0.6782 GB, free: 127.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/1.291, allocations: 6.527 MB / 0.6845 GB, free: 120.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.302, allocations: 9.733 MB / 0.694 GB, free: 112.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/1.302, allocations: 37.34 kB / 0.6941 GB, free: 112.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.0203/1.323, allocations: 10.18 MB / 0.704 GB, free: 107.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.323, allocations: 64 kB / 0.7041 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/1.323, allocations: 140 kB / 0.7042 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004062/1.327, allocations: 1.606 MB / 0.7058 GB, free: 105.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005354/1.333, allocations: 1.555 MB / 0.7073 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.343, allocations: 9.359 MB / 0.7165 GB, free: 95.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/1.35, allocations: 379.3 kB / 0.7168 GB, free: 95.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/1.351, allocations: 404 kB / 0.7172 GB, free: 94.82 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.006216/1.357, allocations: 2.573 MB / 0.7197 GB, free: 92.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.359, allocations: 422.5 kB / 0.7201 GB, free: 91.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/1.366, allocations: 4.549 MB / 0.7246 GB, free: 87.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.375e-05/1.366, allocations: 24 kB / 0.7246 GB, free: 87.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.366, allocations: 8 kB / 0.7246 GB, free: 87.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/1.367, allocations: 7.969 kB / 0.7246 GB, free: 87.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.385, allocations: 10.32 MB / 0.7347 GB, free: 76.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.385, allocations: 4 kB / 0.7347 GB, free: 76.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.387, allocations: 335.5 kB / 0.735 GB, free: 76.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/1.391, allocations: 1.355 MB / 0.7363 GB, free: 75.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/1.391, allocations: 35.98 kB / 0.7364 GB, free: 75.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008878/1.4, allocations: 8.747 MB / 0.7449 GB, free: 66.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.4, allocations: 0 / 0.7449 GB, free: 66.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.41, allocations: 7.46 MB / 0.7522 GB, free: 58.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/1.413, allocations: 0.7767 MB / 0.7529 GB, free: 57.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009366/1.414, allocations: 35.94 kB / 0.753 GB, free: 57.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/1.416, allocations: 139 kB / 0.7531 GB, free: 57.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/1.416, allocations: 122.2 kB / 0.7532 GB, free: 57.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.417, allocations: 63.5 kB / 0.7533 GB, free: 57.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004616/1.421, allocations: 3.037 MB / 0.7562 GB, free: 54.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.21e-07/1.421, allocations: 0 / 0.7562 GB, free: 54.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008064/1.429, allocations: 1.253 MB / 0.7575 GB, free: 53.22 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.0007433/1.43, allocations: 181.2 kB / 0.7576 GB, free: 53.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/1.441, allocations: 6.288 MB / 0.7638 GB, free: 46.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.441, allocations: 0 / 0.7638 GB, free: 46.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/1.444, allocations: 2.155 MB / 0.7659 GB, free: 44.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005218/1.45, allocations: 0.5321 MB / 0.7664 GB, free: 44.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/1.469, allocations: 14.29 MB / 0.7804 GB, free: 29.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003557/1.473, allocations: 4.002 MB / 0.7843 GB, free: 25.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004664/1.478, allocations: 2.083 MB / 0.7863 GB, free: 23.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/1.478, allocations: 291.3 kB / 0.7866 GB, free: 23.34 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/1.478, allocations: 0 / 0.7866 GB, free: 23.34 MB / 494.1 MB Notification: Performance of Templates: time 0.3054/1.784, allocations: 45.43 MB / 0.8309 GB, free: 143.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)