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.009405/0.009405, allocations: 164.6 kB / 15.11 MB, free: 5.578 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.408/1.408, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001617/0.001617, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.3977/0.3977, allocations: 38.05 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004249, allocations: 12 kB / 362.9 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 48.71 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/0.4719, allocations: 88.87 MB / 0.4887 GB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4721, allocations: 78.02 kB / 0.4888 GB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2439/0.7161, allocations: 95.99 MB / 0.5825 GB, free: 3.723 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.7161, allocations: 0 / 0.5825 GB, free: 3.723 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002722/0.7164, allocations: 95.98 kB / 0.5826 GB, free: 3.629 MB / 426.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.2826/0.999, allocations: 6.093 MB / 0.5886 GB, free: 73.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.9991, allocations: 8.562 kB / 0.5886 GB, free: 73.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/1.014, allocations: 2.882 MB / 0.5914 GB, free: 73.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02481/1.039, allocations: 7.195 MB / 0.5984 GB, free: 73.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004878/1.04, allocations: 356.5 kB / 0.5988 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/1.043, allocations: 481.1 kB / 0.5992 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0389/1.082, allocations: 12.27 MB / 0.6112 GB, free: 69.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000557/1.082, allocations: 72.03 kB / 0.6113 GB, free: 69.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003399/1.086, allocations: 232.9 kB / 0.6115 GB, free: 69.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/1.089, allocations: 1.193 MB / 0.6127 GB, free: 69.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03536/1.124, allocations: 10.48 MB / 0.6229 GB, free: 69.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09646/1.221, allocations: 57.05 MB / 0.6786 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01996/1.241, allocations: 5.052 MB / 0.6835 GB, free: 28.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02819/1.269, allocations: 11.13 MB / 0.6944 GB, free: 22.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/1.269, allocations: 51.72 kB / 0.6945 GB, free: 22.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=198): time 7.594e-06/1.269, allocations: 0 / 0.6945 GB, free: 22.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.0877/1.357, allocations: 24.46 MB / 0.7183 GB, free: 12.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00427/1.361, allocations: 4.65 MB / 0.7229 GB, free: 23.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/1.373, allocations: 4.116 MB / 0.7269 GB, free: 19.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008883/1.373, allocations: 61.7 kB / 0.727 GB, free: 19.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.377, allocations: 3.479 MB / 0.7304 GB, free: 16.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001896/1.379, allocations: 0.9468 MB / 0.7313 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/1.38, allocations: 147.3 kB / 0.7314 GB, free: 15.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000578/1.381, allocations: 0.6176 MB / 0.732 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/1.387, allocations: 3.184 MB / 0.7351 GB, free: 12.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/1.398, allocations: 7.414 MB / 0.7424 GB, free: 3.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2575/1.655, allocations: 4.724 MB / 0.747 GB, free: 79.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/1.656, allocations: 41.34 kB / 0.747 GB, free: 79.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02928/1.685, allocations: 12.85 MB / 0.7596 GB, free: 78.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/1.685, allocations: 70.47 kB / 0.7596 GB, free: 78.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01217/1.697, allocations: 6.156 MB / 0.7657 GB, free: 78.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01/1.707, allocations: 3.112 MB / 0.7687 GB, free: 78.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/1.714, allocations: 1.744 MB / 0.7704 GB, free: 78.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/1.729, allocations: 15.02 MB / 0.7851 GB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008883/1.738, allocations: 0.7606 MB / 0.7858 GB, free: 70.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/1.74, allocations: 452.5 kB / 0.7862 GB, free: 70.65 MB / 442.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 () * Number of clocked 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.005938/1.746, allocations: 2.302 MB / 0.7885 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009899/1.747, allocations: 411.4 kB / 0.7889 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/1.763, allocations: 7 MB / 0.7957 GB, free: 70.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01258/1.775, allocations: 6.341 MB / 0.8019 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/1.775, allocations: 14.86 kB / 0.8019 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-05/1.775, allocations: 13.27 kB / 0.8019 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02711/1.802, allocations: 14.96 MB / 0.8166 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.803, allocations: 3.875 kB / 0.8166 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.805, allocations: 420.4 kB / 0.817 GB, free: 64.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009491/1.814, allocations: 3.343 MB / 0.8202 GB, free: 63.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007212/1.815, allocations: 77.38 kB / 0.8203 GB, free: 63.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/1.832, allocations: 16.95 MB / 0.8368 GB, free: 53.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002777/1.835, allocations: 4.459 MB / 0.8412 GB, free: 49.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/1.854, allocations: 10.88 MB / 0.8518 GB, free: 45.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/1.856, allocations: 480.2 kB / 0.8523 GB, free: 44.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/1.858, allocations: 64.58 kB / 0.8523 GB, free: 44.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0037/1.862, allocations: 334.2 kB / 0.8527 GB, free: 44.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007707/1.862, allocations: 189.5 kB / 0.8528 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003996/1.863, allocations: 80.66 kB / 0.8529 GB, free: 44.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006827/1.87, allocations: 2.874 MB / 0.8557 GB, free: 43.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.844e-06/1.87, allocations: 0 / 0.8557 GB, free: 43.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009054/1.879, allocations: 1.49 MB / 0.8572 GB, free: 43.27 MB / 442.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 () * Number of clocked 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.001033/1.88, allocations: 205.2 kB / 0.8574 GB, free: 43.08 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01638/1.896, allocations: 8.831 MB / 0.866 GB, free: 35.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/1.896, allocations: 4 kB / 0.866 GB, free: 35.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009321/1.906, allocations: 4.566 MB / 0.8705 GB, free: 31.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/1.909, allocations: 0.4969 MB / 0.871 GB, free: 31.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/1.936, allocations: 15.06 MB / 0.8857 GB, free: 16.56 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006355/1.942, allocations: 3.74 MB / 0.8893 GB, free: 12.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006488/1.949, allocations: 2.207 MB / 0.8915 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.95, allocations: 299.3 kB / 0.8917 GB, free: 10.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.243e-06/1.95, allocations: 4 kB / 0.8918 GB, free: 10.31 MB / 442.7 MB Notification: Performance of Templates: time 0.3113/2.262, allocations: 53.52 MB / 0.944 GB, free: 82.18 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)