Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002656/0.002657, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.595/1.595, allocations: 205.1 MB / 222 MB, free: 4.762 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.3768/0.3768, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.0015/0.0015, allocations: 59.91 kB / 374.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 56.48 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.2807/0.4179, allocations: 34.73 MB / 465.8 MB, free: 34.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.4374, allocations: 7.907 MB / 473.7 MB, free: 32.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008956/0.4465, allocations: 149.9 kB / 473.8 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003879/0.4504, allocations: 1.919 MB / 475.7 MB, free: 31.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.455, allocations: 1.551 MB / 477.3 MB, free: 30.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.4566, allocations: 0.5531 MB / 477.8 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005812/0.4625, allocations: 4.767 MB / 482.6 MB, free: 28.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/0.4655, allocations: 2.539 MB / 485.1 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.4673, allocations: 1.102 MB / 486.2 MB, free: 27.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.4695, allocations: 1.801 MB / 488 MB, free: 26.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004608/0.47, allocations: 175.4 kB / 488.2 MB, free: 26.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.4718, allocations: 1.009 MB / 489.2 MB, free: 26.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.473, allocations: 1.515 MB / 490.7 MB, free: 26.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.4747, allocations: 1.766 MB / 492.5 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0079/0.4826, allocations: 5.569 MB / 498.1 MB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.4827, allocations: 7.938 kB / 498.1 MB, free: 22.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4827, allocations: 4 kB / 498.1 MB, free: 22.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002661/0.483, allocations: 1.375 kB / 498.1 MB, free: 22.94 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01241/0.4954, allocations: 4.015 MB / 0.4903 GB, free: 20.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.4955, allocations: 9.844 kB / 0.4903 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007811/0.5033, allocations: 1.776 MB / 0.4921 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005757/0.5091, allocations: 1.973 MB / 0.494 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.5094, allocations: 188.4 kB / 0.4942 GB, free: 19.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.5107, allocations: 254.5 kB / 0.4944 GB, free: 19.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01735/0.5281, allocations: 8.438 MB / 0.5027 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.5282, allocations: 40.28 kB / 0.5027 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003858/0.5286, allocations: 123.5 kB / 0.5028 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003039/0.5317, allocations: 1.699 MB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.5464, allocations: 7.096 MB / 0.5114 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0392/0.5856, allocations: 34.17 MB / 0.5448 GB, free: 7.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007587/0.5933, allocations: 3.288 MB / 0.548 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.5952, allocations: 1.454 MB / 0.5494 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007698/0.6029, allocations: 4.373 MB / 0.5537 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.603, allocations: 43.12 kB / 0.5537 GB, free: 13.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.13e-06/0.603, allocations: 0 / 0.5537 GB, free: 13.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02895/0.632, allocations: 11.54 MB / 0.565 GB, free: 1.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.68e-05/0.6321, allocations: 170.9 kB / 0.5652 GB, free: 1.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/0.6373, allocations: 3.737 MB / 0.5688 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002686/0.6376, allocations: 45.7 kB / 0.5688 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001981/0.6395, allocations: 2.744 MB / 0.5715 GB, free: 11.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006865/0.6402, allocations: 0.5287 MB / 0.572 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.6417, allocations: 1.075 MB / 0.5731 GB, free: 9.441 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6419, allocations: 305.1 kB / 0.5734 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.6443, allocations: 1.705 MB / 0.575 GB, free: 7.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004655/0.649, allocations: 5.131 MB / 0.5801 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008293/0.6573, allocations: 7.417 MB / 0.5873 GB, free: 7.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.931e-05/0.6574, allocations: 36 kB / 0.5873 GB, free: 7.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01183/0.6692, allocations: 6.72 MB / 0.5939 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.6694, allocations: 60 kB / 0.594 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.6695, allocations: 124 kB / 0.5941 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.6701, allocations: 320.7 kB / 0.5944 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.6736, allocations: 1.244 MB / 0.5956 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.676, allocations: 2.305 MB / 0.5978 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/0.6799, allocations: 287.5 kB / 0.5981 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006599/0.6805, allocations: 335.9 kB / 0.5984 GB, free: 11.89 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003109/0.6837, allocations: 1.787 MB / 0.6002 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.6843, allocations: 308 kB / 0.6005 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.6887, allocations: 2.359 MB / 0.6028 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/0.6887, allocations: 16 kB / 0.6028 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6887, allocations: 11.88 kB / 0.6028 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6887, allocations: 7.984 kB / 0.6028 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.7006, allocations: 5.923 MB / 0.6086 GB, free: 1.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.7006, allocations: 0 / 0.6086 GB, free: 1.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008483/0.7015, allocations: 179.8 kB / 0.6088 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/0.7036, allocations: 0.7069 MB / 0.6095 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/0.7037, allocations: 24 kB / 0.6095 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005808/0.7095, allocations: 4.47 MB / 0.6139 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7095, allocations: 0 / 0.6139 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007416/0.717, allocations: 4.328 MB / 0.6181 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/0.7193, allocations: 0.5242 MB / 0.6186 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.7197, allocations: 24 kB / 0.6186 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.7208, allocations: 71.91 kB / 0.6187 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.721, allocations: 64.56 kB / 0.6187 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7211, allocations: 44.05 kB / 0.6188 GB, free: 6.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004173/0.7253, allocations: 2.327 MB / 0.6211 GB, free: 4.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7253, allocations: 3.938 kB / 0.6211 GB, free: 4.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005093/0.7304, allocations: 0.8242 MB / 0.6219 GB, free: 3.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004259/0.7309, allocations: 155.2 kB / 0.622 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2917/1.023, allocations: 4.031 MB / 0.6259 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.023, allocations: 1.75 kB / 0.626 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001682/1.024, allocations: 1.108 MB / 0.627 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/1.027, allocations: 374.2 kB / 0.6274 GB, free: 124.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.041, allocations: 8.958 MB / 0.6361 GB, free: 120.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003256/1.045, allocations: 2.793 MB / 0.6389 GB, free: 119.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004182/1.049, allocations: 1.656 MB / 0.6405 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/1.05, allocations: 214.3 kB / 0.6407 GB, free: 119.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/1.05, allocations: 0 / 0.6407 GB, free: 119.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06356/1.113, allocations: 29.92 MB / 0.6699 GB, free: 111.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)