Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001271, 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.002068/0.002068, allocations: 193.8 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.498/1.498, allocations: 205.1 MB / 222 MB, free: 4.766 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.3867/0.3867, allocations: 39.94 MB / 309.3 MB, free: 9.688 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.001328/0.001328, allocations: 66.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3466/0.4796, allocations: 50.26 MB / 484.1 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02983/0.5095, allocations: 10.34 MB / 494.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01445/0.524, allocations: 218 kB / 494.6 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005164/0.5293, allocations: 2.691 MB / 497.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.535, allocations: 1.771 MB / 499.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.5368, allocations: 0.6386 MB / 499.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008114/0.5449, allocations: 5.511 MB / 0.4934 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007983/0.553, allocations: 3.768 MB / 0.4971 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005903/0.5589, allocations: 1.379 MB / 0.4984 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006981/0.566, allocations: 2.267 MB / 0.5006 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002711/0.5687, allocations: 244.8 kB / 0.5009 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005239/0.574, allocations: 1.024 MB / 0.5019 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004954/0.579, allocations: 1.854 MB / 0.5037 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009284/0.5883, allocations: 2.172 MB / 0.5058 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01566/0.604, allocations: 6.874 MB / 0.5125 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.604, allocations: 4 kB / 0.5125 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.604, allocations: 1.344 kB / 0.5125 GB, free: 4.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004617/0.6045, allocations: 0 / 0.5125 GB, free: 4.734 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.03031/0.6348, allocations: 5.336 MB / 0.5177 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.6349, allocations: 8.25 kB / 0.5177 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008737/0.6437, allocations: 1.889 MB / 0.5196 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008484/0.6522, allocations: 2.367 MB / 0.5219 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004816/0.6527, allocations: 234.4 kB / 0.5221 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002904/0.6556, allocations: 324.5 kB / 0.5224 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/0.6895, allocations: 10.73 MB / 0.5329 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002851/0.6898, allocations: 47.59 kB / 0.5329 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002118/0.692, allocations: 151.8 kB / 0.5331 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004179/0.6962, allocations: 1.982 MB / 0.535 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/0.7219, allocations: 9.63 MB / 0.5444 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06669/0.7887, allocations: 39.25 MB / 0.5828 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/0.8037, allocations: 3.939 MB / 0.5866 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.8069, allocations: 1.88 MB / 0.5884 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.8081, allocations: 0.6867 MB / 0.5891 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/0.8082, allocations: 51.5 kB / 0.5892 GB, free: 7.945 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.09e-06/0.8082, allocations: 0 / 0.5892 GB, free: 7.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.049/0.8572, allocations: 13.92 MB / 0.6027 GB, free: 9.914 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.8574, allocations: 145.5 kB / 0.6029 GB, free: 9.742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008246/0.8656, allocations: 4.077 MB / 0.6069 GB, free: 5.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008515/0.8666, allocations: 49.64 kB / 0.6069 GB, free: 5.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003327/0.8699, allocations: 3.122 MB / 0.61 GB, free: 2.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.8711, allocations: 0.625 MB / 0.6106 GB, free: 1.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003302/0.8744, allocations: 1.198 MB / 0.6117 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8746, allocations: 305.1 kB / 0.612 GB, free: 276 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/0.8786, allocations: 2.108 MB / 0.6141 GB, free: 14.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006718/0.8854, allocations: 5.807 MB / 0.6198 GB, free: 6.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.352/1.237, allocations: 8.573 MB / 0.6281 GB, free: 139.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002046/1.238, allocations: 37.75 kB / 0.6282 GB, free: 139.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.02854/1.266, allocations: 8.414 MB / 0.6364 GB, free: 137.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/1.266, allocations: 58.91 kB / 0.6364 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/1.267, allocations: 131.2 kB / 0.6366 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004535/1.271, allocations: 0.9106 MB / 0.6375 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008906/1.28, allocations: 1.375 MB / 0.6388 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.291, allocations: 4.852 MB / 0.6435 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/1.301, allocations: 326.4 kB / 0.6439 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/1.303, allocations: 371.8 kB / 0.6442 GB, free: 134.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00911/1.312, allocations: 2.095 MB / 0.6463 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/1.314, allocations: 345.6 kB / 0.6466 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/1.327, allocations: 3.16 MB / 0.6497 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.862e-05/1.328, allocations: 21.33 kB / 0.6497 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.804e-05/1.328, allocations: 10.06 kB / 0.6497 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-05/1.328, allocations: 6.75 kB / 0.6497 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03315/1.361, allocations: 7.957 MB / 0.6575 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/1.361, allocations: 5.812 kB / 0.6575 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/1.363, allocations: 301 kB / 0.6578 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002593/1.366, allocations: 0.7165 MB / 0.6585 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004258/1.366, allocations: 34.97 kB / 0.6585 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/1.374, allocations: 4.435 MB / 0.6628 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/1.374, allocations: 6.312 kB / 0.6628 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.388, allocations: 5.721 MB / 0.6684 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002649/1.391, allocations: 0.626 MB / 0.669 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.392, allocations: 25.41 kB / 0.6691 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.394, allocations: 95.08 kB / 0.6692 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004835/1.395, allocations: 97.47 kB / 0.6692 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/1.395, allocations: 58.69 kB / 0.6693 GB, free: 124.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008093/1.403, allocations: 2.561 MB / 0.6718 GB, free: 123.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.403, allocations: 0 / 0.6718 GB, free: 123.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009995/1.413, allocations: 0.9559 MB / 0.6727 GB, free: 123.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/1.414, allocations: 154.9 kB / 0.6729 GB, free: 123.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01088/1.425, allocations: 5.016 MB / 0.6778 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.425, allocations: 256 / 0.6778 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002966/1.428, allocations: 1.554 MB / 0.6793 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005087/1.433, allocations: 414.3 kB / 0.6797 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/1.461, allocations: 11.04 MB / 0.6905 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005045/1.466, allocations: 3.239 MB / 0.6936 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004845/1.471, allocations: 1.893 MB / 0.6955 GB, free: 109.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/1.472, allocations: 266.1 kB / 0.6957 GB, free: 109.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/1.472, allocations: 0 / 0.6957 GB, free: 109.3 MB / 494.1 MB Notification: Performance of Templates: time 0.06944/1.541, allocations: 35.91 MB / 0.7308 GB, free: 74.53 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)