Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001249/0.001249, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.295/1.295, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 110.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1777/0.1777, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.14e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.09415, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4601, allocations: 88.77 MB / 494.5 MB, free: 18.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4604, allocations: 71.64 kB / 494.5 MB, free: 18.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2374/0.6978, allocations: 96.06 MB / 0.5768 GB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.6978, allocations: 0 / 0.5768 GB, free: 10.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002073/0.698, allocations: 95.94 kB / 0.5769 GB, free: 10.5 MB / 394.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.02485/0.7229, allocations: 5.812 MB / 0.5825 GB, free: 4.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.723, allocations: 8.031 kB / 0.5825 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/0.7379, allocations: 2.891 MB / 0.5854 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01763/0.7555, allocations: 7.165 MB / 0.5924 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004074/0.756, allocations: 353.3 kB / 0.5927 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/0.7583, allocations: 487.8 kB / 0.5932 GB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/0.786, allocations: 12.08 MB / 0.605 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.7863, allocations: 83.19 kB / 0.605 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008342/0.7871, allocations: 231.8 kB / 0.6053 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00184/0.789, allocations: 1.194 MB / 0.6064 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.8106, allocations: 10.15 MB / 0.6163 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3304/1.141, allocations: 57.02 MB / 0.672 GB, free: 46.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/1.16, allocations: 5.023 MB / 0.6769 GB, free: 45.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/1.164, allocations: 2.363 MB / 0.6792 GB, free: 45.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/1.183, allocations: 11.13 MB / 0.6901 GB, free: 40.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.183, allocations: 56.59 kB / 0.6902 GB, free: 40.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 4.468e-06/1.183, allocations: 0 / 0.6902 GB, free: 40.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.05303/1.236, allocations: 20.57 MB / 0.7103 GB, free: 34.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003458/1.239, allocations: 4.615 MB / 0.7148 GB, free: 29.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009088/1.248, allocations: 3.969 MB / 0.7186 GB, free: 28.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009886/1.249, allocations: 60.05 kB / 0.7187 GB, free: 28.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003456/1.253, allocations: 3.486 MB / 0.7221 GB, free: 25.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001997/1.255, allocations: 0.952 MB / 0.723 GB, free: 24.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000734/1.256, allocations: 150.3 kB / 0.7232 GB, free: 24.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004879/1.256, allocations: 0.6204 MB / 0.7238 GB, free: 24.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007809/1.264, allocations: 3.037 MB / 0.7267 GB, free: 23.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/1.276, allocations: 7.264 MB / 0.7338 GB, free: 16.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.289, allocations: 4.62 MB / 0.7383 GB, free: 15.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/1.289, allocations: 43.25 kB / 0.7384 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.04654/1.335, allocations: 12.55 MB / 0.7506 GB, free: 5.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/1.336, allocations: 79.22 kB / 0.7507 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02345/1.359, allocations: 6.132 MB / 0.7567 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/1.377, allocations: 3.11 MB / 0.7597 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/1.388, allocations: 1.752 MB / 0.7615 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02879/1.417, allocations: 14.81 MB / 0.7759 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/1.43, allocations: 0.7591 MB / 0.7767 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.432, allocations: 451 kB / 0.7771 GB, free: 14.04 MB / 458.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 (891): * Single equations (assignments): 871 * 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 {1,1,1} * 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.002919/1.435, allocations: 0.6558 MB / 0.7777 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.437, allocations: 414.7 kB / 0.7781 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02951/1.466, allocations: 6.95 MB / 0.7849 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.256/1.722, allocations: 6.305 MB / 0.7911 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-05/1.723, allocations: 10.38 kB / 0.7911 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.714e-05/1.723, allocations: 10.5 kB / 0.7911 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03019/1.753, allocations: 14.92 MB / 0.8057 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/1.753, allocations: 7.203 kB / 0.8057 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.755, allocations: 421.2 kB / 0.8061 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01013/1.765, allocations: 3.342 MB / 0.8093 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006547/1.766, allocations: 76.64 kB / 0.8094 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01595/1.782, allocations: 16.55 MB / 0.8256 GB, free: 96.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002034/1.784, allocations: 4.416 MB / 0.8299 GB, free: 92.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/1.801, allocations: 10.82 MB / 0.8404 GB, free: 90.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.803, allocations: 486 kB / 0.8409 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009192/1.804, allocations: 59.38 kB / 0.841 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/1.807, allocations: 339.2 kB / 0.8413 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006483/1.807, allocations: 193.7 kB / 0.8415 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.808, allocations: 73.73 kB / 0.8415 GB, free: 90.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004291/1.812, allocations: 2.748 MB / 0.8442 GB, free: 90.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.812, allocations: 0 / 0.8442 GB, free: 90.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008114/1.82, allocations: 1.477 MB / 0.8457 GB, free: 90.45 MB / 458.7 MB 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.0008814/1.821, allocations: 205.2 kB / 0.8459 GB, free: 90.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01483/1.836, allocations: 8.651 MB / 0.8543 GB, free: 87.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.836, allocations: 3.469 kB / 0.8543 GB, free: 87.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008222/1.844, allocations: 4.533 MB / 0.8587 GB, free: 85.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/1.847, allocations: 0.4916 MB / 0.8592 GB, free: 85.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.864, allocations: 11.26 MB / 0.8702 GB, free: 80.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004048/1.868, allocations: 3.728 MB / 0.8739 GB, free: 79.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005611/1.874, allocations: 2.204 MB / 0.876 GB, free: 79.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009737/1.875, allocations: 308.5 kB / 0.8763 GB, free: 79.31 MB / 458.7 MB Notification: Performance of SimCode: time 7.81e-07/1.875, allocations: 2.844 kB / 0.8763 GB, free: 79.31 MB / 458.7 MB Notification: Performance of Templates: time 0.08261/1.957, allocations: 53.56 MB / 0.9286 GB, free: 34.3 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)