Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001733/0.001733, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.344/1.344, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001626/0.001626, allocations: 111.5 kB / 218 MB, free: 8.406 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.1691/0.1691, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.521e-05, allocations: 3.5 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07944/0.07947, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.3987, allocations: 92.29 MB / 491 MB, free: 17.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.399, allocations: 74.98 kB / 491.1 MB, free: 17.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1843/0.5833, allocations: 74.78 MB / 0.5526 GB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5833, allocations: 0 / 0.5526 GB, free: 5.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002391/0.5836, allocations: 72 kB / 0.5527 GB, free: 5.348 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01062/0.5942, allocations: 3.581 MB / 0.5562 GB, free: 1.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.5943, allocations: 8.031 kB / 0.5562 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.6119, allocations: 4.328 MB / 0.5604 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/0.6251, allocations: 4.456 MB / 0.5648 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.6253, allocations: 116 kB / 0.5649 GB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.6269, allocations: 211.9 kB / 0.5651 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009192/0.6362, allocations: 5.132 MB / 0.5701 GB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.6509, allocations: 8.201 MB / 0.5781 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001527/0.6511, allocations: 63.36 kB / 0.5782 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.6515, allocations: 32 kB / 0.5782 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/0.6526, allocations: 0.8805 MB / 0.579 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2626/0.9152, allocations: 43.34 MB / 0.6214 GB, free: 73.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.9185, allocations: 2.633 MB / 0.6239 GB, free: 72.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.9204, allocations: 1.47 MB / 0.6254 GB, free: 72.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/0.9213, allocations: 0.8618 MB / 0.6262 GB, free: 72.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.9214, allocations: 54.19 kB / 0.6263 GB, free: 71.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=159): time 4.288e-06/0.9214, allocations: 1.219 kB / 0.6263 GB, free: 71.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=193): time 0.0384/0.9598, allocations: 16.52 MB / 0.6424 GB, free: 69.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/0.9599, allocations: 200.7 kB / 0.6426 GB, free: 69.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.9642, allocations: 2.877 MB / 0.6454 GB, free: 69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003431/0.9645, allocations: 25.7 kB / 0.6454 GB, free: 68.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.9662, allocations: 2.861 MB / 0.6482 GB, free: 67.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/0.9669, allocations: 0.7117 MB / 0.6489 GB, free: 67.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.9671, allocations: 0 / 0.6489 GB, free: 67.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002556/0.9674, allocations: 0.5631 MB / 0.6495 GB, free: 66.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.9697, allocations: 1.919 MB / 0.6513 GB, free: 66.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/0.9734, allocations: 5.563 MB / 0.6568 GB, free: 62.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/0.9776, allocations: 3.252 MB / 0.66 GB, free: 62.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-05/0.9777, allocations: 39.22 kB / 0.66 GB, free: 62.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01661/0.9943, allocations: 8.421 MB / 0.6682 GB, free: 60.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.9945, allocations: 59.88 kB / 0.6683 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/0.9947, allocations: 135.3 kB / 0.6684 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004897/0.9996, allocations: 1.542 MB / 0.6699 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/1.004, allocations: 1.337 MB / 0.6712 GB, free: 59.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.015, allocations: 8.686 MB / 0.6797 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/1.02, allocations: 203 kB / 0.6799 GB, free: 55.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000973/1.021, allocations: 370.7 kB / 0.6802 GB, free: 55.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (724): * Single equations (assignments): 720 * 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.0008804/1.022, allocations: 434.3 kB / 0.6807 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/1.022, allocations: 314.4 kB / 0.681 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008027/1.03, allocations: 3.744 MB / 0.6846 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.03, allocations: 21.19 kB / 0.6846 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.03, allocations: 7.594 kB / 0.6846 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/1.03, allocations: 10.92 kB / 0.6846 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/1.045, allocations: 7.661 MB / 0.6921 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.045, allocations: 3.312 kB / 0.6921 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.046, allocations: 247.6 kB / 0.6924 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004102/1.05, allocations: 1.218 MB / 0.6936 GB, free: 50.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/1.051, allocations: 7.938 kB / 0.6936 GB, free: 50.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008934/1.06, allocations: 6.874 MB / 0.7003 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.06, allocations: 4.094 kB / 0.7003 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.07, allocations: 6.233 MB / 0.7064 GB, free: 39.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.071, allocations: 0.5875 MB / 0.7069 GB, free: 38.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/1.072, allocations: 4 kB / 0.7069 GB, free: 38.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/1.073, allocations: 71.91 kB / 0.707 GB, free: 38.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000299/1.073, allocations: 114.8 kB / 0.7071 GB, free: 38.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.073, allocations: 47.7 kB / 0.7072 GB, free: 38.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00281/1.076, allocations: 1.912 MB / 0.709 GB, free: 36.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.076, allocations: 3.938 kB / 0.709 GB, free: 36.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005154/1.081, allocations: 0.8344 MB / 0.7099 GB, free: 36.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (138): * Single equations (assignments): 134 * 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.0004661/1.082, allocations: 147 kB / 0.71 GB, free: 35.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006674/1.089, allocations: 4.734 MB / 0.7146 GB, free: 31.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.089, allocations: 0 / 0.7146 GB, free: 31.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.09, allocations: 1.574 MB / 0.7162 GB, free: 30.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/1.092, allocations: 296.5 kB / 0.7164 GB, free: 29.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/1.104, allocations: 6.767 MB / 0.723 GB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/1.107, allocations: 3.034 MB / 0.726 GB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004502/1.111, allocations: 1.897 MB / 0.7279 GB, free: 20.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005491/1.112, allocations: 218.5 kB / 0.7281 GB, free: 20.19 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/1.112, allocations: 4 kB / 0.7281 GB, free: 20.19 MB / 426.7 MB Notification: Performance of Templates: time 0.05566/1.168, allocations: 32.85 MB / 0.7602 GB, free: 6.418 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)