Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007828/0.0007832, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008027/0.0008028, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.3/0.3, allocations: 38.04 MB / 308.4 MB, free: 10.29 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.0006521/0.0006527, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1137, allocations: 57.53 MB / 434 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2309/0.3446, allocations: 45.62 MB / 479.6 MB, free: 28.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.3648, allocations: 10.08 MB / 489.7 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009959/0.3748, allocations: 218.1 kB / 489.9 MB, free: 21.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006215/0.3811, allocations: 2.34 MB / 492.2 MB, free: 21.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01687/0.398, allocations: 6.972 MB / 499.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.4008, allocations: 0.5794 MB / 499.8 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005418/0.4063, allocations: 4.511 MB / 0.4925 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007379/0.4137, allocations: 4.66 MB / 0.497 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/0.4169, allocations: 1.261 MB / 0.4982 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/0.4211, allocations: 1.921 MB / 0.5001 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009064/0.4221, allocations: 146.3 kB / 0.5003 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.4244, allocations: 0.9137 MB / 0.5011 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.4267, allocations: 1.729 MB / 0.5028 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.428, allocations: 0.8564 MB / 0.5037 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.4348, allocations: 5.65 MB / 0.5092 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4348, allocations: 0.9688 kB / 0.5092 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4348, allocations: 0 / 0.5092 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000268/0.4351, allocations: 0 / 0.5092 GB, free: 9.324 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.00908/0.4442, allocations: 4.022 MB / 0.5131 GB, free: 6.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4442, allocations: 9.438 kB / 0.5131 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007062/0.4513, allocations: 1.978 MB / 0.5151 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004857/0.4562, allocations: 2.229 MB / 0.5172 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.4564, allocations: 258.8 kB / 0.5175 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.4576, allocations: 430.7 kB / 0.5179 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01878/0.4764, allocations: 10.39 MB / 0.528 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.4766, allocations: 43.59 kB / 0.5281 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005697/0.4772, allocations: 167.8 kB / 0.5282 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/0.4801, allocations: 1.939 MB / 0.5301 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/0.4975, allocations: 8.632 MB / 0.5386 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05548/0.553, allocations: 40.43 MB / 0.578 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009578/0.5627, allocations: 3.818 MB / 0.5818 GB, free: 2.902 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/0.5655, allocations: 1.752 MB / 0.5835 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/0.5798, allocations: 8.274 MB / 0.5916 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.5799, allocations: 43.56 kB / 0.5916 GB, free: 8.379 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.3e-06/0.5799, allocations: 4 kB / 0.5916 GB, free: 8.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03601/0.616, allocations: 13.04 MB / 0.6043 GB, free: 11.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001457/0.6175, allocations: 1.62 MB / 0.6059 GB, free: 9.359 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007343/0.6248, allocations: 3.951 MB / 0.6098 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.6252, allocations: 49.7 kB / 0.6098 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002003/0.6273, allocations: 3.202 MB / 0.613 GB, free: 2.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007709/0.628, allocations: 0.6482 MB / 0.6136 GB, free: 1.465 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.6283, allocations: 120.1 kB / 0.6137 GB, free: 1.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003243/0.6286, allocations: 0.5583 MB / 0.6143 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/0.6318, allocations: 2.171 MB / 0.6164 GB, free: 14.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.6373, allocations: 5.917 MB / 0.6222 GB, free: 6.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004794/0.6421, allocations: 3.506 MB / 0.6256 GB, free: 3.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.418e-05/0.6422, allocations: 36 kB / 0.6256 GB, free: 3.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.2268/0.8691, allocations: 9.549 MB / 0.6349 GB, free: 140.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9e-05/0.8692, allocations: 65.53 kB / 0.635 GB, free: 140.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0092/0.8784, allocations: 3.864 MB / 0.6388 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008256/0.8867, allocations: 2.247 MB / 0.641 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.891, allocations: 1.399 MB / 0.6423 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/0.8986, allocations: 6.88 MB / 0.6491 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005802/0.9044, allocations: 429.5 kB / 0.6495 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/0.9058, allocations: 376 kB / 0.6498 GB, free: 136.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (754): * Single equations (assignments): 745 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004868/0.9107, allocations: 2.111 MB / 0.6519 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007649/0.9115, allocations: 337.4 kB / 0.6522 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00549/0.917, allocations: 3.175 MB / 0.6553 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00492/0.9219, allocations: 2.687 MB / 0.6579 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.922, allocations: 3.031 kB / 0.6579 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/0.922, allocations: 9.719 kB / 0.6579 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/0.9405, allocations: 9.168 MB / 0.6669 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.9406, allocations: 4.625 kB / 0.6669 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.9419, allocations: 268.7 kB / 0.6672 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.9447, allocations: 1.037 MB / 0.6682 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00022/0.945, allocations: 41.92 kB / 0.6682 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005223/0.9502, allocations: 5.015 MB / 0.6731 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000762/0.951, allocations: 1.482 MB / 0.6746 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008158/0.9592, allocations: 5.551 MB / 0.68 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.9602, allocations: 415.8 kB / 0.6804 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/0.9606, allocations: 31.16 kB / 0.6804 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.9619, allocations: 151 kB / 0.6805 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.9622, allocations: 97.45 kB / 0.6806 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9623, allocations: 45.45 kB / 0.6807 GB, free: 122.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003415/0.9657, allocations: 2.452 MB / 0.6831 GB, free: 122 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9657, allocations: 3.438 kB / 0.6831 GB, free: 122 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005729/0.9715, allocations: 1.108 MB / 0.6842 GB, free: 121.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004531/0.9719, allocations: 156.1 kB / 0.6843 GB, free: 121.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008989/0.9809, allocations: 5.835 MB / 0.69 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.981, allocations: 0 / 0.69 GB, free: 119.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.9846, allocations: 2.25 MB / 0.6922 GB, free: 117.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.9881, allocations: 421.8 kB / 0.6926 GB, free: 116.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.004, allocations: 11.52 MB / 0.7039 GB, free: 106.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/1.006, allocations: 3.292 MB / 0.7071 GB, free: 102.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003873/1.01, allocations: 1.9 MB / 0.7089 GB, free: 101 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/1.011, allocations: 235.4 kB / 0.7092 GB, free: 100.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.383e-06/1.011, allocations: 0 / 0.7092 GB, free: 100.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05704/1.068, allocations: 37.7 MB / 0.746 GB, free: 63.18 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) Environment - environmentSimulation: