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.001368/0.001368, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.329/1.329, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001586/0.001586, allocations: 105.9 kB / 247.4 MB, free: 6.203 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.1885/0.1885, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.582e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09831, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4648, allocations: 99.11 MB / 0.5345 GB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4651, allocations: 78.58 kB / 0.5345 GB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2038/0.6689, allocations: 74.83 MB / 0.6076 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.669, allocations: 0 / 0.6076 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002863/0.6693, allocations: 68 kB / 0.6077 GB, free: 14.1 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.0142/0.6835, allocations: 3.581 MB / 0.6112 GB, free: 10.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6836, allocations: 11.97 kB / 0.6112 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.7023, allocations: 4.332 MB / 0.6154 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.7157, allocations: 4.448 MB / 0.6198 GB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.716, allocations: 124 kB / 0.6199 GB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.7179, allocations: 219.9 kB / 0.6201 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01174/0.7296, allocations: 5.136 MB / 0.6251 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.7498, allocations: 8.205 MB / 0.6331 GB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003218/0.7502, allocations: 59.45 kB / 0.6332 GB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001602/0.7518, allocations: 32 kB / 0.6332 GB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/0.7534, allocations: 0.8805 MB / 0.6341 GB, free: 1.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3389/1.092, allocations: 43.35 MB / 0.6764 GB, free: 92.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/1.096, allocations: 2.636 MB / 0.679 GB, free: 91.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/1.098, allocations: 1.492 MB / 0.6804 GB, free: 91.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/1.099, allocations: 0.8649 MB / 0.6813 GB, free: 91.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.099, allocations: 49.94 kB / 0.6813 GB, free: 91.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=159): time 3.236e-06/1.099, allocations: 1.375 kB / 0.6813 GB, free: 91.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=193): time 0.03836/1.137, allocations: 16.5 MB / 0.6974 GB, free: 88.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/1.137, allocations: 201.6 kB / 0.6976 GB, free: 88.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/1.142, allocations: 2.876 MB / 0.7004 GB, free: 88.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002984/1.142, allocations: 28.22 kB / 0.7005 GB, free: 88.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/1.144, allocations: 2.86 MB / 0.7033 GB, free: 86.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006/1.144, allocations: 0.7171 MB / 0.704 GB, free: 86.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/1.145, allocations: 0 / 0.704 GB, free: 86.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000294/1.145, allocations: 0.5603 MB / 0.7045 GB, free: 85.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/1.147, allocations: 1.92 MB / 0.7064 GB, free: 85.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003936/1.151, allocations: 5.56 MB / 0.7118 GB, free: 81.11 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/1.155, allocations: 3.262 MB / 0.715 GB, free: 80.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.977e-05/1.155, allocations: 37.19 kB / 0.715 GB, free: 80.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01495/1.17, allocations: 8.407 MB / 0.7233 GB, free: 78.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/1.17, allocations: 59.38 kB / 0.7233 GB, free: 78.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/1.17, allocations: 128.7 kB / 0.7234 GB, free: 78.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004749/1.175, allocations: 1.556 MB / 0.7249 GB, free: 78.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/1.179, allocations: 1.336 MB / 0.7263 GB, free: 78.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.19, allocations: 8.683 MB / 0.7347 GB, free: 73.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004909/1.195, allocations: 207.9 kB / 0.7349 GB, free: 73.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/1.197, allocations: 375.1 kB / 0.7353 GB, free: 73.91 MB / 474.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.001673/1.198, allocations: 433.4 kB / 0.7357 GB, free: 73.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007414/1.199, allocations: 307.1 kB / 0.736 GB, free: 73.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009089/1.208, allocations: 3.753 MB / 0.7397 GB, free: 72.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/1.208, allocations: 20.28 kB / 0.7397 GB, free: 72.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/1.208, allocations: 11.53 kB / 0.7397 GB, free: 72.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/1.208, allocations: 7.359 kB / 0.7397 GB, free: 72.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/1.226, allocations: 7.655 MB / 0.7472 GB, free: 67.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.226, allocations: 0 / 0.7472 GB, free: 67.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.227, allocations: 253.3 kB / 0.7474 GB, free: 67.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004042/1.231, allocations: 1.212 MB / 0.7486 GB, free: 66.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/1.231, allocations: 7.891 kB / 0.7486 GB, free: 66.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009134/1.24, allocations: 6.876 MB / 0.7553 GB, free: 60.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.241, allocations: 4.094 kB / 0.7553 GB, free: 60.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/1.253, allocations: 6.238 MB / 0.7614 GB, free: 55.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/1.254, allocations: 0.5825 MB / 0.762 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007524/1.255, allocations: 4 kB / 0.762 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.257, allocations: 72.09 kB / 0.7621 GB, free: 54.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.257, allocations: 113.7 kB / 0.7622 GB, free: 54.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/1.257, allocations: 56.78 kB / 0.7622 GB, free: 54.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003782/1.261, allocations: 1.913 MB / 0.7641 GB, free: 53.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.261, allocations: 0 / 0.7641 GB, free: 53.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005226/1.266, allocations: 0.8275 MB / 0.7649 GB, free: 52.31 MB / 474.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.000432/1.267, allocations: 149.9 kB / 0.765 GB, free: 52.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007963/1.275, allocations: 4.741 MB / 0.7697 GB, free: 47.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.275, allocations: 0 / 0.7697 GB, free: 47.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.277, allocations: 1.565 MB / 0.7712 GB, free: 46.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.279, allocations: 300.9 kB / 0.7715 GB, free: 46.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.292, allocations: 6.766 MB / 0.7781 GB, free: 40.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/1.295, allocations: 3.04 MB / 0.7811 GB, free: 37.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004783/1.3, allocations: 1.897 MB / 0.7829 GB, free: 36.63 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/1.301, allocations: 215.2 kB / 0.7831 GB, free: 36.43 MB / 474.7 MB Notification: Performance of SimCode: time 1.143e-06/1.301, allocations: 4 kB / 0.7831 GB, free: 36.43 MB / 474.7 MB Notification: Performance of Templates: time 0.05502/1.356, allocations: 32.85 MB / 0.8152 GB, free: 5.801 MB / 474.7 MB 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)