Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001245/0.001245, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.523/1.523, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.3386/0.3386, allocations: 38 MB / 307.8 MB, free: 10.07 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.001546/0.001546, allocations: 72.53 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 56.46 MB / 431.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01355/0.1538, allocations: 11.79 MB / 443.5 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009955/0.1638, allocations: 3.918 MB / 447.4 MB, free: 6.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.1674, allocations: 67.81 kB / 447.5 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005686/0.1732, allocations: 2.714 MB / 450.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.1814, allocations: 1.879 MB / 452.1 MB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.1842, allocations: 0.6978 MB / 452.8 MB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3114/0.4955, allocations: 3.747 MB / 456.5 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005031/0.5006, allocations: 3.786 MB / 460.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.5037, allocations: 1.547 MB / 461.9 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003691/0.5074, allocations: 2.131 MB / 464 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.5087, allocations: 345.6 kB / 464.3 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.5114, allocations: 1.068 MB / 465.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.514, allocations: 1.913 MB / 467.3 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003108/0.5171, allocations: 2.262 MB / 469.6 MB, free: 34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00967/0.5268, allocations: 6.949 MB / 476.5 MB, free: 31.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.5268, allocations: 0 / 476.5 MB, free: 31.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5269, allocations: 0 / 476.5 MB, free: 31.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003244/0.5272, allocations: 0 / 476.5 MB, free: 31.74 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.02186/0.5491, allocations: 5.346 MB / 481.9 MB, free: 29.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.5491, allocations: 17.05 kB / 481.9 MB, free: 29.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008054/0.5572, allocations: 1.883 MB / 483.8 MB, free: 28.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007799/0.5651, allocations: 2.354 MB / 486.1 MB, free: 27.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004379/0.5655, allocations: 245.3 kB / 486.4 MB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/0.5678, allocations: 319.3 kB / 486.7 MB, free: 27.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/0.5956, allocations: 10.73 MB / 497.4 MB, free: 22.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003067/0.596, allocations: 44.92 kB / 497.5 MB, free: 22.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00137/0.5974, allocations: 154.3 kB / 497.6 MB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004557/0.6019, allocations: 1.977 MB / 499.6 MB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/0.6284, allocations: 9.634 MB / 0.4973 GB, free: 19.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06439/0.6928, allocations: 39.26 MB / 0.5356 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.7076, allocations: 3.94 MB / 0.5395 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/0.7107, allocations: 1.883 MB / 0.5413 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.7119, allocations: 0.6793 MB / 0.542 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/0.7119, allocations: 46.47 kB / 0.542 GB, free: 7.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.17e-06/0.712, allocations: 0 / 0.542 GB, free: 7.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.05469/0.7666, allocations: 13.93 MB / 0.5556 GB, free: 9.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.7668, allocations: 145.5 kB / 0.5558 GB, free: 9.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/0.7776, allocations: 4.081 MB / 0.5597 GB, free: 5.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007086/0.7783, allocations: 48.67 kB / 0.5598 GB, free: 5.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003641/0.782, allocations: 3.124 MB / 0.5628 GB, free: 2.086 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.7834, allocations: 0.6207 MB / 0.5634 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003637/0.7871, allocations: 1.196 MB / 0.5646 GB, free: 268 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7873, allocations: 306.8 kB / 0.5649 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/0.7915, allocations: 2.103 MB / 0.567 GB, free: 13.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007545/0.7991, allocations: 5.813 MB / 0.5726 GB, free: 6.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/0.8114, allocations: 8.573 MB / 0.581 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/0.8117, allocations: 36 kB / 0.581 GB, free: 11.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.02474/0.8364, allocations: 8.42 MB / 0.5893 GB, free: 3.422 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.8367, allocations: 67.88 kB / 0.5893 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003044/0.837, allocations: 132 kB / 0.5895 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.84, allocations: 0.9112 MB / 0.5903 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00557/0.8456, allocations: 1.372 MB / 0.5917 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/0.8537, allocations: 5.195 MB / 0.5968 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005867/0.8596, allocations: 319.4 kB / 0.5971 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001524/0.8612, allocations: 378.5 kB / 0.5974 GB, free: 10.93 MB / 478.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.005446/0.8666, allocations: 2.087 MB / 0.5995 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.8678, allocations: 351.4 kB / 0.5998 GB, free: 8.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006971/0.8748, allocations: 3.163 MB / 0.6029 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.8748, allocations: 16 kB / 0.6029 GB, free: 5.285 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.8748, allocations: 4 kB / 0.6029 GB, free: 5.281 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.8749, allocations: 15.91 kB / 0.6029 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.8932, allocations: 7.952 MB / 0.6107 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.8933, allocations: 4.078 kB / 0.6107 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.8949, allocations: 303.5 kB / 0.611 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.8972, allocations: 0.7271 MB / 0.6117 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002491/0.8975, allocations: 39.97 kB / 0.6117 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006462/0.9039, allocations: 4.754 MB / 0.6164 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.904, allocations: 4.031 kB / 0.6164 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.9144, allocations: 5.724 MB / 0.622 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/0.9164, allocations: 0.6176 MB / 0.6226 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/0.9175, allocations: 24 kB / 0.6226 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.9195, allocations: 95.88 kB / 0.6227 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.9199, allocations: 108.8 kB / 0.6228 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/0.9201, allocations: 51.97 kB / 0.6228 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.3014/1.222, allocations: 2.552 MB / 0.6253 GB, free: 145.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.754e-06/1.222, allocations: 0 / 0.6253 GB, free: 145.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007771/1.229, allocations: 0.9595 MB / 0.6263 GB, free: 145.8 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.0004961/1.23, allocations: 163.6 kB / 0.6264 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01002/1.24, allocations: 5.697 MB / 0.632 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.24, allocations: 0 / 0.632 GB, free: 144.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/1.242, allocations: 1.548 MB / 0.6335 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/1.245, allocations: 436.9 kB / 0.6339 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.261, allocations: 9.099 MB / 0.6428 GB, free: 140.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003869/1.265, allocations: 3.237 MB / 0.646 GB, free: 139 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005292/1.27, allocations: 1.899 MB / 0.6478 GB, free: 138.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008963/1.271, allocations: 268 kB / 0.6481 GB, free: 138.8 MB / 494.1 MB Notification: Performance of SimCode: time 3.747e-06/1.271, allocations: 0 / 0.6481 GB, free: 138.8 MB / 494.1 MB Notification: Performance of Templates: time 0.08566/1.357, allocations: 37.27 MB / 0.6845 GB, free: 122.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)