Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6554/0.6554, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001623/0.001623, allocations: 142.7 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 12 kB / 184.9 MB, free: 3.922 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1359, allocations: 25.15 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05665/0.1926, allocations: 45.22 MB / 255.3 MB, free: 4.594 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.1929, allocations: 73.19 kB / 255.4 MB, free: 4.523 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3938/0.5867, allocations: 123.9 MB / 379.2 MB, free: 7.172 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5868, allocations: 0 / 379.2 MB, free: 7.172 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001579/0.5869, allocations: 64 kB / 379.3 MB, free: 7.109 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1374 * Number of variables: 1374 Notification: Performance of Generate backend data structure: time 0.02576/0.6127, allocations: 5.82 MB / 385.1 MB, free: 1.223 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.6128, allocations: 27.89 kB / 385.2 MB, free: 1.195 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2004/0.8132, allocations: 18.62 MB / 403.8 MB, free: 38.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/0.8279, allocations: 5.119 MB / 408.9 MB, free: 38.61 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.8283, allocations: 281.2 kB / 409.2 MB, free: 38.6 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/0.8314, allocations: 361.3 kB / 409.5 MB, free: 38.6 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06207/0.8935, allocations: 21.67 MB / 431.2 MB, free: 37.1 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.8937, allocations: 31.38 kB / 431.2 MB, free: 37.1 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.8948, allocations: 164 kB / 431.4 MB, free: 37.1 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02917/0.924, allocations: 7.422 MB / 438.8 MB, free: 30.47 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06016/0.9842, allocations: 23.75 MB / 462.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4526/1.437, allocations: 95.06 MB / 0.5445 GB, free: 20.19 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02449/1.461, allocations: 8.07 MB / 0.5524 GB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1883/1.65, allocations: 24.09 MB / 0.5759 GB, free: 48.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.65, allocations: 52.44 kB / 0.576 GB, free: 48.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=180): time 6.132e-06/1.65, allocations: 2.75 kB / 0.576 GB, free: 48.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=193): time 0.08544/1.735, allocations: 26.6 MB / 0.602 GB, free: 45.24 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001073/1.736, allocations: 1.609 MB / 0.6036 GB, free: 43.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006257/1.743, allocations: 3.297 MB / 0.6068 GB, free: 43.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006244/1.743, allocations: 54.09 kB / 0.6068 GB, free: 43.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/1.745, allocations: 2.716 MB / 0.6095 GB, free: 41.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.746, allocations: 0.7435 MB / 0.6102 GB, free: 41.51 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007925/1.747, allocations: 112.5 kB / 0.6103 GB, free: 41.51 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002872/1.747, allocations: 0.5674 MB / 0.6109 GB, free: 41.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01875/1.766, allocations: 6.327 MB / 0.617 GB, free: 40.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02123/1.787, allocations: 9.862 MB / 0.6267 GB, free: 32.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/1.804, allocations: 6.456 MB / 0.633 GB, free: 26.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.805, allocations: 36 kB / 0.633 GB, free: 26.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.04347/1.848, allocations: 16.1 MB / 0.6487 GB, free: 10.04 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/1.848, allocations: 63.94 kB / 0.6488 GB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01305/1.861, allocations: 4.375 MB / 0.6531 GB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/1.866, allocations: 1.415 MB / 0.6544 GB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1189/1.985, allocations: 1.421 MB / 0.6558 GB, free: 41.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/1.993, allocations: 6.936 MB / 0.6626 GB, free: 39.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0124/2.005, allocations: 1.819 MB / 0.6644 GB, free: 39.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/2.007, allocations: 0.5458 MB / 0.6649 GB, free: 39.05 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 700 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004185/2.011, allocations: 1.881 MB / 0.6668 GB, free: 38.94 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008841/2.012, allocations: 294.9 kB / 0.667 GB, free: 38.94 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01521/2.027, allocations: 4.789 MB / 0.6717 GB, free: 38.83 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0267/2.054, allocations: 7.002 MB / 0.6785 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/2.054, allocations: 9.609 kB / 0.6786 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/2.054, allocations: 11.28 kB / 0.6786 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06193/2.116, allocations: 19.2 MB / 0.6973 GB, free: 37.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/2.116, allocations: 3.953 kB / 0.6973 GB, free: 37.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/2.117, allocations: 282.7 kB / 0.6976 GB, free: 37.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004335/2.122, allocations: 1.403 MB / 0.699 GB, free: 37.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006237/2.122, allocations: 118.1 kB / 0.6991 GB, free: 37.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008289/2.131, allocations: 7.46 MB / 0.7064 GB, free: 33.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007528/2.131, allocations: 1.468 MB / 0.7078 GB, free: 31.9 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05353/2.185, allocations: 17.99 MB / 0.7254 GB, free: 19.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/2.186, allocations: 435 kB / 0.7258 GB, free: 18.63 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/2.188, allocations: 35.98 kB / 0.7258 GB, free: 18.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008303/2.196, allocations: 1.496 MB / 0.7273 GB, free: 17.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006871/2.197, allocations: 111.6 kB / 0.7274 GB, free: 17.01 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007282/2.198, allocations: 227.8 kB / 0.7276 GB, free: 16.79 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.005065/2.203, allocations: 2.297 MB / 0.7298 GB, free: 14.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.3e-07/2.203, allocations: 0 / 0.7298 GB, free: 14.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.007557/2.21, allocations: 1.103 MB / 0.7309 GB, free: 13.41 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * 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 (132): * Single equations (assignments): 116 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009014/2.211, allocations: 177.4 kB / 0.7311 GB, free: 13.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.03931/2.25, allocations: 13.76 MB / 0.7445 GB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/2.251, allocations: 0 / 0.7445 GB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0209/2.271, allocations: 6.219 MB / 0.7506 GB, free: 9.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/2.274, allocations: 270.1 kB / 0.7509 GB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1313/2.405, allocations: 14.34 MB / 0.7649 GB, free: 53.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002756/2.408, allocations: 3.041 MB / 0.7678 GB, free: 52.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.006697/2.415, allocations: 2.427 MB / 0.7702 GB, free: 52.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.417, allocations: 0.5488 MB / 0.7707 GB, free: 52.58 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/2.417, allocations: 0 / 0.7707 GB, free: 52.58 MB / 266.7 MB Notification: Performance of Templates: time 0.07679/2.494, allocations: 55.86 MB / 0.8253 GB, free: 29.58 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)