Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001773/0.001774, 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.66/1.66, allocations: 194.3 MB / 207.5 MB, free: 3.449 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.001678/0.001678, allocations: 99.55 kB / 252.6 MB, free: 4.805 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.2313/0.2313, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.116e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 54.87 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6182, allocations: 99.77 MB / 0.5419 GB, free: 8.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.6185, allocations: 74.38 kB / 0.542 GB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.215/0.8336, allocations: 76.38 MB / 0.6166 GB, free: 3.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.8336, allocations: 0 / 0.6166 GB, free: 3.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000161/0.8338, allocations: 68 kB / 0.6166 GB, free: 3.23 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: 1315 * Number of variables: 1315 Notification: Performance of Generate backend data structure: time 0.01047/0.8443, allocations: 3.581 MB / 0.6201 GB, free: 15.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.8443, allocations: 8.031 kB / 0.6201 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.8618, allocations: 4.332 MB / 0.6244 GB, free: 11.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.8742, allocations: 4.46 MB / 0.6287 GB, free: 6.715 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.8746, allocations: 279 kB / 0.629 GB, free: 6.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.8763, allocations: 367.8 kB / 0.6293 GB, free: 6.082 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/0.8949, allocations: 9.073 MB / 0.6382 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/0.8952, allocations: 63.39 kB / 0.6383 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007178/0.8959, allocations: 179.9 kB / 0.6384 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001565/0.8975, allocations: 0.8805 MB / 0.6393 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/0.9119, allocations: 7.206 MB / 0.6463 GB, free: 3.668 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2888/1.201, allocations: 44.06 MB / 0.6894 GB, free: 82.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009151/1.21, allocations: 3.471 MB / 0.6927 GB, free: 82.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/1.212, allocations: 1.592 MB / 0.6943 GB, free: 82.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/1.222, allocations: 7.194 MB / 0.7013 GB, free: 80.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.222, allocations: 57.91 kB / 0.7014 GB, free: 79.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=150): time 4.378e-06/1.222, allocations: 2.844 kB / 0.7014 GB, free: 79.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=184): time 0.04894/1.271, allocations: 17.06 MB / 0.718 GB, free: 77.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.271, allocations: 203.2 kB / 0.7182 GB, free: 77.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.276, allocations: 3.259 MB / 0.7214 GB, free: 76.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.276, allocations: 54.52 kB / 0.7215 GB, free: 76.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/1.278, allocations: 2.823 MB / 0.7242 GB, free: 75.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008389/1.279, allocations: 0.7016 MB / 0.7249 GB, free: 74.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/1.279, allocations: 113.6 kB / 0.725 GB, free: 74.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002606/1.279, allocations: 0.5533 MB / 0.7256 GB, free: 74.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/1.282, allocations: 1.939 MB / 0.7275 GB, free: 74.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/1.285, allocations: 5.469 MB / 0.7328 GB, free: 68.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/1.289, allocations: 3.243 MB / 0.736 GB, free: 67.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-05/1.289, allocations: 36.69 kB / 0.736 GB, free: 67.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01536/1.305, allocations: 8.94 MB / 0.7447 GB, free: 64.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/1.305, allocations: 58.25 kB / 0.7448 GB, free: 64.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/1.305, allocations: 127.3 kB / 0.7449 GB, free: 64.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/1.31, allocations: 1.54 MB / 0.7464 GB, free: 64.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/1.314, allocations: 1.281 MB / 0.7477 GB, free: 64.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.326, allocations: 8.948 MB / 0.7564 GB, free: 60.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/1.331, allocations: 314.8 kB / 0.7567 GB, free: 60.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.332, allocations: 360.5 kB / 0.757 GB, free: 60.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (691): * Single equations (assignments): 687 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.333, allocations: 0.5494 MB / 0.7576 GB, free: 59.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006392/1.334, allocations: 335.6 kB / 0.7579 GB, free: 59.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008429/1.342, allocations: 3.801 MB / 0.7616 GB, free: 56.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/1.343, allocations: 21.33 kB / 0.7616 GB, free: 56.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.343, allocations: 11.94 kB / 0.7616 GB, free: 56.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/1.343, allocations: 10.61 kB / 0.7617 GB, free: 56.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.359, allocations: 8.007 MB / 0.7695 GB, free: 49.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/1.359, allocations: 7.828 kB / 0.7695 GB, free: 49.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.36, allocations: 238.7 kB / 0.7697 GB, free: 49.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004188/1.364, allocations: 1.227 MB / 0.7709 GB, free: 48.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002546/1.365, allocations: 31.14 kB / 0.7709 GB, free: 48.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009521/1.374, allocations: 7.284 MB / 0.7781 GB, free: 42.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.374, allocations: 0 / 0.7781 GB, free: 42.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/1.385, allocations: 6.153 MB / 0.7841 GB, free: 37.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.386, allocations: 0.6003 MB / 0.7846 GB, free: 36.57 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/1.387, allocations: 31.23 kB / 0.7847 GB, free: 36.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.388, allocations: 92.08 kB / 0.7848 GB, free: 36.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/1.389, allocations: 104.9 kB / 0.7849 GB, free: 36.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.389, allocations: 52.47 kB / 0.7849 GB, free: 36.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003166/1.392, allocations: 2.262 MB / 0.7871 GB, free: 34.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.392, allocations: 0 / 0.7871 GB, free: 34.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004408/1.396, allocations: 0.968 MB / 0.7881 GB, free: 33.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004025/1.397, allocations: 171 kB / 0.7882 GB, free: 33.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006321/1.403, allocations: 4.884 MB / 0.793 GB, free: 28.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.403, allocations: 4 kB / 0.793 GB, free: 28.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.405, allocations: 1.595 MB / 0.7946 GB, free: 27.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/1.407, allocations: 363 kB / 0.7949 GB, free: 27.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.418, allocations: 6.77 MB / 0.8015 GB, free: 21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/1.421, allocations: 3.038 MB / 0.8045 GB, free: 18.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004064/1.425, allocations: 1.815 MB / 0.8063 GB, free: 16.53 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.426, allocations: 219.4 kB / 0.8065 GB, free: 16.31 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/1.426, allocations: 4 kB / 0.8065 GB, free: 16.31 MB / 474.7 MB Notification: Performance of Templates: time 0.06224/1.488, allocations: 35.84 MB / 0.8415 GB, free: 12.97 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)