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.0008269/0.0008269, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005477/0.005477, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.365/1.365, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3343/0.3343, allocations: 38.04 MB / 308.8 MB, free: 10.35 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.0006252/0.0006251, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1119, allocations: 57.51 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.2471/0.359, allocations: 49.03 MB / 483.6 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02232/0.3814, allocations: 10.59 MB / 494.2 MB, free: 19.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/0.3937, allocations: 211.4 kB / 494.4 MB, free: 19.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.3956, allocations: 429.5 kB / 494.8 MB, free: 19.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.4011, allocations: 1.765 MB / 496.6 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4028, allocations: 0.6401 MB / 497.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006117/0.409, allocations: 5.678 MB / 0.4911 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008006/0.417, allocations: 5.346 MB / 0.4963 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.4197, allocations: 1.159 MB / 0.4975 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/0.4235, allocations: 1.948 MB / 0.4994 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001098/0.4246, allocations: 147.1 kB / 0.4995 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.4281, allocations: 1.075 MB / 0.5006 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003385/0.4315, allocations: 1.767 MB / 0.5023 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004756/0.4363, allocations: 2.064 MB / 0.5043 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4481, allocations: 6.826 MB / 0.511 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4481, allocations: 4 kB / 0.511 GB, free: 8.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4481, allocations: 0 / 0.511 GB, free: 8.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002646/0.4484, allocations: 0 / 0.511 GB, free: 8.148 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.01145/0.4598, allocations: 3.962 MB / 0.5148 GB, free: 5.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.4599, allocations: 8.875 kB / 0.5148 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008116/0.468, allocations: 1.976 MB / 0.5168 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005618/0.4737, allocations: 2.277 MB / 0.519 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.474, allocations: 256.5 kB / 0.5192 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/0.4754, allocations: 431.9 kB / 0.5197 GB, free: 2.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/0.494, allocations: 10.42 MB / 0.5298 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.4942, allocations: 47.53 kB / 0.5299 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000562/0.4948, allocations: 167.8 kB / 0.53 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.4976, allocations: 1.939 MB / 0.5319 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01875/0.5164, allocations: 8.659 MB / 0.5404 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05352/0.57, allocations: 40.45 MB / 0.5799 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009531/0.5795, allocations: 3.833 MB / 0.5836 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.582, allocations: 1.762 MB / 0.5853 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.5932, allocations: 8.282 MB / 0.5934 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.5933, allocations: 43.56 kB / 0.5935 GB, free: 6.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 4.088e-06/0.5933, allocations: 0 / 0.5935 GB, free: 6.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03046/0.6238, allocations: 13.05 MB / 0.6062 GB, free: 9.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001199/0.625, allocations: 1.616 MB / 0.6078 GB, free: 7.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/0.6307, allocations: 3.978 MB / 0.6117 GB, free: 3.758 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004473/0.6312, allocations: 49.7 kB / 0.6117 GB, free: 3.703 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002518/0.6337, allocations: 3.206 MB / 0.6149 GB, free: 460 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.6348, allocations: 0.6443 MB / 0.6155 GB, free: 15.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007462/0.6356, allocations: 0.5229 MB / 0.616 GB, free: 15.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6357, allocations: 301.1 kB / 0.6163 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/0.6389, allocations: 2.19 MB / 0.6184 GB, free: 12.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005403/0.6443, allocations: 5.936 MB / 0.6242 GB, free: 4.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2282/0.8725, allocations: 8.72 MB / 0.6327 GB, free: 139.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.718e-05/0.8726, allocations: 39.41 kB / 0.6328 GB, free: 139.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02047/0.8931, allocations: 9.604 MB / 0.6422 GB, free: 137.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/0.8932, allocations: 62.25 kB / 0.6422 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01039/0.9036, allocations: 3.879 MB / 0.646 GB, free: 137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.9139, allocations: 2.223 MB / 0.6482 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/0.9186, allocations: 1.399 MB / 0.6495 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008283/0.9269, allocations: 6.894 MB / 0.6563 GB, free: 132.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004967/0.9319, allocations: 422.2 kB / 0.6567 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006107/0.9325, allocations: 373.5 kB / 0.657 GB, free: 132.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 (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.003744/0.9363, allocations: 2.116 MB / 0.6591 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/0.9369, allocations: 333.5 kB / 0.6594 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006047/0.9429, allocations: 3.179 MB / 0.6625 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005106/0.9481, allocations: 2.68 MB / 0.6651 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.9481, allocations: 3.281 kB / 0.6651 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.9481, allocations: 23.31 kB / 0.6652 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.9654, allocations: 9.175 MB / 0.6741 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.9655, allocations: 4.875 kB / 0.6741 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.9667, allocations: 272.3 kB / 0.6744 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.9697, allocations: 1.042 MB / 0.6754 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.9699, allocations: 41.03 kB / 0.6754 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/0.9742, allocations: 5.019 MB / 0.6803 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007204/0.975, allocations: 1.478 MB / 0.6818 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007873/0.9828, allocations: 5.574 MB / 0.6872 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.984, allocations: 406.8 kB / 0.6876 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/0.9844, allocations: 37.77 kB / 0.6877 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.9859, allocations: 149 kB / 0.6878 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.9862, allocations: 88.06 kB / 0.6879 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.9863, allocations: 52.16 kB / 0.6879 GB, free: 118.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003581/0.9899, allocations: 2.471 MB / 0.6903 GB, free: 118 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.9899, allocations: 4 kB / 0.6903 GB, free: 117.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005588/0.9955, allocations: 1.106 MB / 0.6914 GB, free: 117.6 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 (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.0004124/0.9959, allocations: 174.5 kB / 0.6916 GB, free: 117.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008589/1.005, allocations: 5.857 MB / 0.6973 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.005, allocations: 0 / 0.6973 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003628/1.008, allocations: 2.249 MB / 0.6995 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/1.012, allocations: 422.6 kB / 0.6999 GB, free: 108.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.028, allocations: 12 MB / 0.7116 GB, free: 96.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/1.031, allocations: 3.299 MB / 0.7149 GB, free: 93.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004116/1.035, allocations: 1.894 MB / 0.7167 GB, free: 91.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/1.036, allocations: 231.4 kB / 0.7169 GB, free: 91.44 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/1.036, allocations: 0 / 0.7169 GB, free: 91.44 MB / 494.1 MB Notification: Performance of Templates: time 0.05999/1.096, allocations: 38.45 MB / 0.7545 GB, free: 53.09 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: