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.008048/0.008048, allocations: 102.4 kB / 15.73 MB, free: 6.484 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.001692/0.001692, allocations: 196.3 kB / 16.68 MB, free: 6.375 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.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3201/0.3201, allocations: 38 MB / 307.9 MB, free: 10.16 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.001395/0.001395, allocations: 68.38 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2956, allocations: 56.46 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01033/0.3059, allocations: 11.9 MB / 0.4897 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008333/0.3143, allocations: 4.185 MB / 0.4938 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/0.3167, allocations: 68.59 kB / 0.4938 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005207/0.3219, allocations: 2.837 MB / 0.4966 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.327, allocations: 1.928 MB / 0.4985 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.3288, allocations: 0.6981 MB / 0.4992 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005809/0.3347, allocations: 3.852 MB / 0.5029 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005366/0.3401, allocations: 3.882 MB / 0.5067 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002854/0.3429, allocations: 1.586 MB / 0.5083 GB, free: 1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.3463, allocations: 2.131 MB / 0.5103 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.3475, allocations: 354.8 kB / 0.5107 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.3509, allocations: 1.204 MB / 0.5119 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.354, allocations: 2.011 MB / 0.5138 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004959/0.359, allocations: 2.312 MB / 0.5161 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.3709, allocations: 7.365 MB / 0.5233 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3709, allocations: 0 / 0.5233 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3709, allocations: 0 / 0.5233 GB, free: 5.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002758/0.3712, allocations: 7.938 kB / 0.5233 GB, free: 5.066 MB / 398.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.01196/0.3832, allocations: 4.851 MB / 0.528 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3832, allocations: 11.89 kB / 0.528 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/0.3903, allocations: 1.929 MB / 0.5299 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/0.3951, allocations: 2.322 MB / 0.5322 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.3954, allocations: 258.8 kB / 0.5324 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.3968, allocations: 415.7 kB / 0.5328 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.4165, allocations: 10.42 MB / 0.543 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/0.4168, allocations: 39.8 kB / 0.543 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.4179, allocations: 167.8 kB / 0.5432 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003094/0.421, allocations: 1.939 MB / 0.5451 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/0.4391, allocations: 8.655 MB / 0.5535 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0562/0.4954, allocations: 40.27 MB / 0.5929 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009679/0.5051, allocations: 3.818 MB / 0.5966 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002753/0.5079, allocations: 1.759 MB / 0.5983 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.5214, allocations: 8.27 MB / 0.6064 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.5215, allocations: 51.56 kB / 0.6064 GB, free: 13.24 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 7.083e-06/0.5216, allocations: 0 / 0.6064 GB, free: 13.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.03127/0.5528, allocations: 13.05 MB / 0.6192 GB, free: 8 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001807/0.5547, allocations: 1.695 MB / 0.6208 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007821/0.5625, allocations: 3.978 MB / 0.6247 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004356/0.563, allocations: 49.7 kB / 0.6248 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002474/0.5655, allocations: 3.202 MB / 0.6279 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009767/0.5665, allocations: 0.652 MB / 0.6285 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/0.569, allocations: 1.23 MB / 0.6297 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.5692, allocations: 309.2 kB / 0.63 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/0.5728, allocations: 2.186 MB / 0.6322 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2819/0.8547, allocations: 5.945 MB / 0.638 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.8656, allocations: 8.71 MB / 0.6465 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002857/0.8659, allocations: 42.19 kB / 0.6465 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02421/0.8901, allocations: 9.606 MB / 0.6559 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.8903, allocations: 62.44 kB / 0.656 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01161/0.9019, allocations: 3.871 MB / 0.6597 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009982/0.912, allocations: 2.23 MB / 0.6619 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/0.9175, allocations: 1.398 MB / 0.6633 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009824/0.9274, allocations: 7.498 MB / 0.6706 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/0.9324, allocations: 420.3 kB / 0.671 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008495/0.9333, allocations: 373.3 kB / 0.6714 GB, free: 104.6 MB / 0.4981 GB 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003354/0.9367, allocations: 2.124 MB / 0.6734 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/0.9373, allocations: 339.4 kB / 0.6738 GB, free: 103.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.9428, allocations: 3.161 MB / 0.6769 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004085/0.9469, allocations: 2.7 MB / 0.6795 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.9469, allocations: 0 / 0.6795 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.9469, allocations: 7.953 kB / 0.6795 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.9594, allocations: 9.177 MB / 0.6885 GB, free: 95.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.9594, allocations: 0 / 0.6885 GB, free: 95.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.9605, allocations: 269.6 kB / 0.6887 GB, free: 95.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002599/0.9632, allocations: 1.044 MB / 0.6897 GB, free: 95.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.9633, allocations: 37.39 kB / 0.6898 GB, free: 95.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004245/0.9676, allocations: 5.331 MB / 0.695 GB, free: 89.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006481/0.9682, allocations: 1.568 MB / 0.6965 GB, free: 88.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006517/0.9747, allocations: 5.573 MB / 0.7019 GB, free: 82.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/0.9755, allocations: 400.6 kB / 0.7023 GB, free: 82.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/0.9758, allocations: 38.73 kB / 0.7024 GB, free: 82.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.9771, allocations: 147.8 kB / 0.7025 GB, free: 82.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.9774, allocations: 98.31 kB / 0.7026 GB, free: 82.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.9775, allocations: 47.98 kB / 0.7026 GB, free: 82.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002777/0.9803, allocations: 2.469 MB / 0.7051 GB, free: 79.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9803, allocations: 0 / 0.7051 GB, free: 79.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004961/0.9853, allocations: 1.102 MB / 0.7061 GB, free: 78.47 MB / 0.4981 GB 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 (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003507/0.9856, allocations: 167.4 kB / 0.7063 GB, free: 78.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008029/0.9937, allocations: 5.89 MB / 0.712 GB, free: 72.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9937, allocations: 4.062 kB / 0.7121 GB, free: 72.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/0.9969, allocations: 2.256 MB / 0.7143 GB, free: 70.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.9991, allocations: 451.1 kB / 0.7147 GB, free: 69.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/1.011, allocations: 9.685 MB / 0.7241 GB, free: 59.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.014, allocations: 3.288 MB / 0.7274 GB, free: 56.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003562/1.018, allocations: 1.901 MB / 0.7292 GB, free: 54.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/1.018, allocations: 239.4 kB / 0.7294 GB, free: 54.42 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/1.018, allocations: 0 / 0.7294 GB, free: 54.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.05475/1.073, allocations: 36.99 MB / 0.7656 GB, free: 17.52 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile (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)