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.001427/0.001427, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001918/0.001918, allocations: 191 kB / 16.25 MB, free: 6.625 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.627/1.627, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.4003/0.4003, allocations: 37.98 MB / 307.4 MB, free: 10.1 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.001507/0.001507, allocations: 74.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1353, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3027/0.4381, allocations: 50.25 MB / 481.5 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03261/0.4707, allocations: 10.25 MB / 491.7 MB, free: 19.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0159/0.4868, allocations: 210.8 kB / 491.9 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005858/0.4927, allocations: 2.603 MB / 494.5 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.4988, allocations: 1.757 MB / 496.3 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.5012, allocations: 0.6475 MB / 496.9 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006456/0.5077, allocations: 3.789 MB / 0.489 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008286/0.516, allocations: 3.999 MB / 0.4929 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.5205, allocations: 1.576 MB / 0.4944 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005282/0.5258, allocations: 2.358 MB / 0.4967 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002567/0.5284, allocations: 347 kB / 0.4971 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005258/0.5337, allocations: 1.076 MB / 0.4981 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00473/0.5385, allocations: 1.97 MB / 0.5 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008119/0.5466, allocations: 2.277 MB / 0.5023 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.5631, allocations: 7.009 MB / 0.5091 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.5631, allocations: 0 / 0.5091 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5632, allocations: 3.938 kB / 0.5091 GB, free: 7.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004597/0.5636, allocations: 0 / 0.5091 GB, free: 7.469 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.02881/0.5924, allocations: 5.337 MB / 0.5143 GB, free: 4.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.5925, allocations: 14.27 kB / 0.5143 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008309/0.6008, allocations: 1.885 MB / 0.5162 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006831/0.6077, allocations: 2.368 MB / 0.5185 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.608, allocations: 238.2 kB / 0.5187 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002188/0.6102, allocations: 318.7 kB / 0.519 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02988/0.6401, allocations: 10.74 MB / 0.5295 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002575/0.6404, allocations: 43.59 kB / 0.5295 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/0.6423, allocations: 147.9 kB / 0.5297 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/0.6463, allocations: 1.986 MB / 0.5316 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02362/0.6699, allocations: 9.627 MB / 0.541 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06723/0.7372, allocations: 39.25 MB / 0.5794 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.015/0.7523, allocations: 3.931 MB / 0.5832 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/0.7554, allocations: 1.884 MB / 0.585 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.7566, allocations: 0.6828 MB / 0.5857 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.647e-05/0.7567, allocations: 55.55 kB / 0.5858 GB, free: 12.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.361e-06/0.7567, allocations: 0 / 0.5858 GB, free: 12.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04797/0.8047, allocations: 13.92 MB / 0.5994 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.8048, allocations: 149.7 kB / 0.5995 GB, free: 14.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006156/0.811, allocations: 4.074 MB / 0.6035 GB, free: 10.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004058/0.8114, allocations: 49.64 kB / 0.6035 GB, free: 10.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.8138, allocations: 3.125 MB / 0.6066 GB, free: 7.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/0.8149, allocations: 0.6212 MB / 0.6072 GB, free: 6.586 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/0.8167, allocations: 1.201 MB / 0.6084 GB, free: 5.371 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8168, allocations: 305.1 kB / 0.6086 GB, free: 5.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003305/0.8201, allocations: 2.104 MB / 0.6107 GB, free: 2.961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005582/0.8257, allocations: 5.804 MB / 0.6164 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.8367, allocations: 8.579 MB / 0.6247 GB, free: 0.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/0.8369, allocations: 40 kB / 0.6248 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.3388/1.176, allocations: 8.41 MB / 0.633 GB, free: 110.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.176, allocations: 61.03 kB / 0.6331 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/1.176, allocations: 132.4 kB / 0.6332 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/1.179, allocations: 0.912 MB / 0.6341 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005211/1.184, allocations: 1.374 MB / 0.6354 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/1.191, allocations: 5.191 MB / 0.6405 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006552/1.197, allocations: 324.5 kB / 0.6408 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001762/1.199, allocations: 375.3 kB / 0.6411 GB, free: 108.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.006586/1.206, allocations: 2.081 MB / 0.6432 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.207, allocations: 352.8 kB / 0.6435 GB, free: 108.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007752/1.215, allocations: 3.163 MB / 0.6466 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.574e-05/1.215, allocations: 19.86 kB / 0.6466 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/1.215, allocations: 2.906 kB / 0.6466 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/1.215, allocations: 8.328 kB / 0.6466 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02097/1.236, allocations: 7.959 MB / 0.6544 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/1.236, allocations: 1.25 kB / 0.6544 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.238, allocations: 303.1 kB / 0.6547 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/1.24, allocations: 0.7211 MB / 0.6554 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002559/1.24, allocations: 36.06 kB / 0.6554 GB, free: 105.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006437/1.247, allocations: 4.761 MB / 0.6601 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.247, allocations: 4.219 kB / 0.6601 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009536/1.256, allocations: 5.721 MB / 0.6657 GB, free: 100.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/1.258, allocations: 0.6271 MB / 0.6663 GB, free: 99.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.26, allocations: 29.12 kB / 0.6663 GB, free: 99.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.261, allocations: 91.09 kB / 0.6664 GB, free: 99.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003605/1.262, allocations: 110 kB / 0.6665 GB, free: 99.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.262, allocations: 49.33 kB / 0.6666 GB, free: 99.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004779/1.266, allocations: 2.557 MB / 0.6691 GB, free: 99.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.266, allocations: 0 / 0.6691 GB, free: 99.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007921/1.274, allocations: 0.9602 MB / 0.67 GB, free: 98.93 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.0006223/1.275, allocations: 158.5 kB / 0.6701 GB, free: 98.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009506/1.285, allocations: 5.698 MB / 0.6757 GB, free: 97.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.285, allocations: 0 / 0.6757 GB, free: 97.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.287, allocations: 1.562 MB / 0.6772 GB, free: 96.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/1.29, allocations: 439.8 kB / 0.6776 GB, free: 96.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/1.309, allocations: 11.04 MB / 0.6884 GB, free: 85.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/1.313, allocations: 3.241 MB / 0.6916 GB, free: 82.71 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00436/1.317, allocations: 1.886 MB / 0.6934 GB, free: 80.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008186/1.318, allocations: 271.3 kB / 0.6937 GB, free: 80.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.854e-06/1.318, allocations: 3.938 kB / 0.6937 GB, free: 80.55 MB / 494.1 MB Notification: Performance of Templates: time 0.06782/1.386, allocations: 37.21 MB / 0.73 GB, free: 43.53 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)