Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009457/0.0009455, allocations: 90.52 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.008552/0.008552, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.81/1.81, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3918/0.3918, allocations: 40 MB / 310.7 MB, free: 9.582 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.2. 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.0005863/0.0005866, allocations: 16 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1568, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3749/0.5318, allocations: 49.04 MB / 486.4 MB, free: 22.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03184/0.5637, allocations: 10.58 MB / 497 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01395/0.5777, allocations: 214.1 kB / 497.2 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.58, allocations: 437.3 kB / 497.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006706/0.5867, allocations: 1.764 MB / 499.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.5886, allocations: 0.6357 MB / 0.4883 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01101/0.5996, allocations: 5.686 MB / 0.4939 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/0.6113, allocations: 5.346 MB / 0.4991 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004173/0.6155, allocations: 1.157 MB / 0.5002 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/0.6208, allocations: 1.949 MB / 0.5021 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.6227, allocations: 147.1 kB / 0.5023 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005627/0.6284, allocations: 1.067 MB / 0.5033 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00546/0.6339, allocations: 1.771 MB / 0.5051 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007124/0.641, allocations: 2.064 MB / 0.5071 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.6599, allocations: 6.831 MB / 0.5137 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6599, allocations: 0 / 0.5137 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.66, allocations: 0 / 0.5137 GB, free: 4.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006133/0.6606, allocations: 1.125 kB / 0.5137 GB, free: 4.754 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.01784/0.6784, allocations: 3.955 MB / 0.5176 GB, free: 1.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/0.6785, allocations: 17.92 kB / 0.5176 GB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009932/0.6885, allocations: 1.978 MB / 0.5196 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008594/0.6971, allocations: 2.275 MB / 0.5218 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/0.6976, allocations: 255.5 kB / 0.522 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002963/0.7006, allocations: 431.6 kB / 0.5224 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03083/0.7314, allocations: 10.42 MB / 0.5326 GB, free: 5.152 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002742/0.7318, allocations: 47.47 kB / 0.5327 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/0.7339, allocations: 163.8 kB / 0.5328 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00391/0.7379, allocations: 1.947 MB / 0.5347 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.7608, allocations: 8.651 MB / 0.5432 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06984/0.8307, allocations: 40.45 MB / 0.5827 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.8419, allocations: 3.825 MB / 0.5864 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/0.8455, allocations: 1.763 MB / 0.5881 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01729/0.8628, allocations: 8.27 MB / 0.5962 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.543e-05/0.8629, allocations: 51.56 kB / 0.5962 GB, free: 2.195 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 6.522e-06/0.863, allocations: 3.938 kB / 0.5962 GB, free: 2.191 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03813/0.9011, allocations: 13.05 MB / 0.609 GB, free: 4.969 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00149/0.9026, allocations: 1.624 MB / 0.6106 GB, free: 3.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/0.9138, allocations: 3.978 MB / 0.6145 GB, free: 15.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007449/0.9146, allocations: 45.98 kB / 0.6145 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003447/0.918, allocations: 3.202 MB / 0.6176 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001591/0.9197, allocations: 0.6559 MB / 0.6183 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/0.9215, allocations: 0.515 MB / 0.6188 GB, free: 10.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9217, allocations: 305.2 kB / 0.6191 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/0.9267, allocations: 2.198 MB / 0.6212 GB, free: 8.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01007/0.9368, allocations: 5.94 MB / 0.627 GB, free: 416 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3311/1.268, allocations: 8.705 MB / 0.6355 GB, free: 134.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.268, allocations: 40.22 kB / 0.6356 GB, free: 134.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02411/1.292, allocations: 9.615 MB / 0.6449 GB, free: 132.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.721e-05/1.292, allocations: 62.47 kB / 0.645 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01131/1.304, allocations: 3.876 MB / 0.6488 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/1.315, allocations: 2.228 MB / 0.651 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005537/1.32, allocations: 1.394 MB / 0.6523 GB, free: 131.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.33, allocations: 6.887 MB / 0.659 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006687/1.337, allocations: 425.5 kB / 0.6595 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.339, allocations: 374.3 kB / 0.6598 GB, free: 127.3 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.005569/1.344, allocations: 2.12 MB / 0.6619 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.345, allocations: 336.1 kB / 0.6622 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007462/1.353, allocations: 3.18 MB / 0.6653 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005999/1.359, allocations: 2.682 MB / 0.6679 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.359, allocations: 7 kB / 0.6679 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/1.359, allocations: 17.62 kB / 0.6679 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/1.378, allocations: 9.17 MB / 0.6769 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.378, allocations: 0 / 0.6769 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.38, allocations: 276.5 kB / 0.6772 GB, free: 121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/1.382, allocations: 1.038 MB / 0.6782 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/1.383, allocations: 39.05 kB / 0.6782 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/1.387, allocations: 5.019 MB / 0.6831 GB, free: 117.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007572/1.388, allocations: 1.479 MB / 0.6846 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008064/1.396, allocations: 5.572 MB / 0.69 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.398, allocations: 409.7 kB / 0.6904 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003748/1.398, allocations: 39.2 kB / 0.6904 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.4, allocations: 145.8 kB / 0.6906 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/1.4, allocations: 94.97 kB / 0.6907 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.4, allocations: 47.7 kB / 0.6907 GB, free: 113.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00488/1.405, allocations: 2.472 MB / 0.6931 GB, free: 111.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.3e-07/1.405, allocations: 7.938 kB / 0.6931 GB, free: 111.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006089/1.411, allocations: 1.104 MB / 0.6942 GB, free: 110.7 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.0003992/1.412, allocations: 168.6 kB / 0.6944 GB, free: 110.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009895/1.421, allocations: 5.858 MB / 0.7001 GB, free: 104.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.421, allocations: 0 / 0.7001 GB, free: 104.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003693/1.425, allocations: 2.253 MB / 0.7023 GB, free: 102.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/1.429, allocations: 424.8 kB / 0.7027 GB, free: 102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.449, allocations: 11.98 MB / 0.7144 GB, free: 89.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005923/1.455, allocations: 3.3 MB / 0.7176 GB, free: 86.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004938/1.46, allocations: 1.896 MB / 0.7195 GB, free: 84.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007196/1.461, allocations: 235.4 kB / 0.7197 GB, free: 84.47 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/1.461, allocations: 0 / 0.7197 GB, free: 84.47 MB / 494.1 MB Notification: Performance of Templates: time 0.06869/1.53, allocations: 38.45 MB / 0.7573 GB, free: 46.14 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) Environment - environmentSimulation: