Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.526/1.526, allocations: 194.3 MB / 207.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001611/0.001611, allocations: 112.9 kB / 252.6 MB, free: 4.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1886/0.1886, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.421e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.4927, allocations: 95.48 MB / 0.5377 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.493, allocations: 73.72 kB / 0.5378 GB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2473/0.7403, allocations: 96.23 MB / 0.6318 GB, free: 3.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7403, allocations: 0 / 0.6318 GB, free: 3.629 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002022/0.7406, allocations: 95.92 kB / 0.6319 GB, free: 3.535 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.02617/0.7667, allocations: 5.819 MB / 0.6375 GB, free: 13.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.7668, allocations: 8.031 kB / 0.6375 GB, free: 13.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.7828, allocations: 2.923 MB / 0.6404 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/0.8031, allocations: 7.201 MB / 0.6474 GB, free: 3.441 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/0.8036, allocations: 361.2 kB / 0.6478 GB, free: 3.086 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.8062, allocations: 475.8 kB / 0.6482 GB, free: 2.621 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/0.8313, allocations: 12.08 MB / 0.66 GB, free: 5.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/0.8315, allocations: 75.25 kB / 0.6601 GB, free: 5.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006863/0.8322, allocations: 239.9 kB / 0.6603 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001829/0.834, allocations: 1.194 MB / 0.6615 GB, free: 3.801 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3607/1.195, allocations: 10.14 MB / 0.6714 GB, free: 100.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08047/1.275, allocations: 57.05 MB / 0.7271 GB, free: 66.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.29, allocations: 5.021 MB / 0.732 GB, free: 65.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/1.294, allocations: 2.36 MB / 0.7343 GB, free: 64.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02038/1.314, allocations: 11.14 MB / 0.7452 GB, free: 58.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/1.315, allocations: 56.38 kB / 0.7453 GB, free: 58.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=198): time 7.604e-06/1.315, allocations: 0 / 0.7453 GB, free: 58.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=237): time 0.0565/1.371, allocations: 20.57 MB / 0.7653 GB, free: 51.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002745/1.374, allocations: 4.609 MB / 0.7698 GB, free: 47.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008671/1.383, allocations: 3.974 MB / 0.7737 GB, free: 45.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008814/1.383, allocations: 64.23 kB / 0.7738 GB, free: 45.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003032/1.387, allocations: 3.477 MB / 0.7772 GB, free: 42.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001767/1.388, allocations: 0.9571 MB / 0.7781 GB, free: 42.29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/1.39, allocations: 142 kB / 0.7783 GB, free: 42.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005462/1.39, allocations: 0.6178 MB / 0.7789 GB, free: 41.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004992/1.395, allocations: 3.046 MB / 0.7818 GB, free: 40.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008136/1.403, allocations: 7.281 MB / 0.7889 GB, free: 31.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.411, allocations: 4.635 MB / 0.7935 GB, free: 27.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/1.411, allocations: 40 kB / 0.7935 GB, free: 27.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03007/1.442, allocations: 12.86 MB / 0.8061 GB, free: 17.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002894/1.442, allocations: 68 kB / 0.8061 GB, free: 17.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0163/1.458, allocations: 6.368 MB / 0.8123 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/1.469, allocations: 3.351 MB / 0.8156 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006538/1.476, allocations: 1.695 MB / 0.8173 GB, free: 8.422 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/1.495, allocations: 15.93 MB / 0.8328 GB, free: 8.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009316/1.505, allocations: 0.7749 MB / 0.8336 GB, free: 7.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002378/1.507, allocations: 451.9 kB / 0.834 GB, free: 6.969 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 42 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 862 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.511, allocations: 0.6482 MB / 0.8347 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/1.513, allocations: 406.8 kB / 0.835 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.532, allocations: 6.951 MB / 0.8418 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01552/1.548, allocations: 6.302 MB / 0.848 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.352e-05/1.548, allocations: 12 kB / 0.848 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-05/1.548, allocations: 11.95 kB / 0.848 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3887/1.936, allocations: 14.91 MB / 0.8626 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.325e-05/1.937, allocations: 3.875 kB / 0.8626 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00265/1.939, allocations: 422.5 kB / 0.863 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01235/1.952, allocations: 3.336 MB / 0.8662 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009411/1.953, allocations: 75.33 kB / 0.8663 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/1.974, allocations: 16.55 MB / 0.8825 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002617/1.976, allocations: 4.423 MB / 0.8868 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/1.996, allocations: 10.82 MB / 0.8974 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/1.999, allocations: 484.8 kB / 0.8978 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/2, allocations: 66.61 kB / 0.8979 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004282/2.005, allocations: 337.3 kB / 0.8982 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009431/2.006, allocations: 182.8 kB / 0.8984 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004757/2.006, allocations: 74.5 kB / 0.8984 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006656/2.013, allocations: 2.753 MB / 0.9011 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.853e-06/2.013, allocations: 0 / 0.9011 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009969/2.023, allocations: 1.492 MB / 0.9026 GB, free: 108.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/2.024, allocations: 222.1 kB / 0.9028 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01954/2.044, allocations: 9.051 MB / 0.9116 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.044, allocations: 0 / 0.9116 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01045/2.054, allocations: 4.535 MB / 0.9161 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/2.06, allocations: 0.489 MB / 0.9166 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/2.087, allocations: 11.27 MB / 0.9276 GB, free: 101 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007011/2.094, allocations: 3.732 MB / 0.9312 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00698/2.101, allocations: 2.202 MB / 0.9334 GB, free: 99.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/2.103, allocations: 301.1 kB / 0.9336 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.864e-06/2.103, allocations: 0 / 0.9336 GB, free: 99.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.1057/2.209, allocations: 55.44 MB / 0.9878 GB, free: 57.59 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)