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.006951/0.006951, allocations: 165 kB / 15.11 MB, free: 5.973 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.197/1.197, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001548/0.001548, allocations: 107.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.3403/0.3403, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 12 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 48.7 MB / 411.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.5102, allocations: 93.04 MB / 0.4928 GB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5105, allocations: 78.53 kB / 0.4929 GB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2016/0.7121, allocations: 76.29 MB / 0.5674 GB, free: 3.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.7121, allocations: 0 / 0.5674 GB, free: 3.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001883/0.7123, allocations: 72 kB / 0.5674 GB, free: 3.289 MB / 410.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.01549/0.7278, allocations: 3.837 MB / 0.5712 GB, free: 15.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.7279, allocations: 8.031 kB / 0.5712 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/0.7457, allocations: 4.32 MB / 0.5754 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/0.7598, allocations: 4.483 MB / 0.5798 GB, free: 6.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.7602, allocations: 271.1 kB / 0.58 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002316/0.7625, allocations: 367.8 kB / 0.5804 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3093/1.072, allocations: 9.127 MB / 0.5893 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002132/1.072, allocations: 59.31 kB / 0.5894 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006259/1.073, allocations: 182.2 kB / 0.5895 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001718/1.074, allocations: 0.8851 MB / 0.5904 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.09, allocations: 7.32 MB / 0.5976 GB, free: 80.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04191/1.132, allocations: 44.04 MB / 0.6406 GB, free: 51.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008566/1.14, allocations: 3.503 MB / 0.644 GB, free: 51.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/1.152, allocations: 7.196 MB / 0.651 GB, free: 47.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.275e-05/1.152, allocations: 50.59 kB / 0.6511 GB, free: 47.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 4.478e-06/1.152, allocations: 3.938 kB / 0.6511 GB, free: 47.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.06463/1.217, allocations: 19.59 MB / 0.6702 GB, free: 41.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/1.217, allocations: 202.5 kB / 0.6704 GB, free: 40.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005069/1.222, allocations: 3.3 MB / 0.6736 GB, free: 39.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004144/1.223, allocations: 51.64 kB / 0.6737 GB, free: 39.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001786/1.224, allocations: 2.82 MB / 0.6764 GB, free: 37.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/1.225, allocations: 0.6987 MB / 0.6771 GB, free: 37.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/1.225, allocations: 115.1 kB / 0.6772 GB, free: 36.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/1.226, allocations: 0.549 MB / 0.6777 GB, free: 36.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/1.228, allocations: 2.005 MB / 0.6797 GB, free: 35.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/1.233, allocations: 5.522 MB / 0.6851 GB, free: 30.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/1.237, allocations: 3.269 MB / 0.6883 GB, free: 28.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.077e-05/1.237, allocations: 42.39 kB / 0.6883 GB, free: 28.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01982/1.257, allocations: 9.12 MB / 0.6972 GB, free: 25.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.257, allocations: 63.72 kB / 0.6973 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.257, allocations: 126.4 kB / 0.6974 GB, free: 25.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005593/1.263, allocations: 1.595 MB / 0.699 GB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005006/1.268, allocations: 1.285 MB / 0.7002 GB, free: 25.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.282, allocations: 9.554 MB / 0.7096 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/1.288, allocations: 309.3 kB / 0.7099 GB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.29, allocations: 365.6 kB / 0.7102 GB, free: 20.71 MB / 426.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 () * Number of clocked 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.003821/1.293, allocations: 1.892 MB / 0.712 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007193/1.294, allocations: 325.7 kB / 0.7124 GB, free: 19.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009076/1.303, allocations: 3.927 MB / 0.7162 GB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-05/1.303, allocations: 20 kB / 0.7162 GB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.303, allocations: 8 kB / 0.7162 GB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/1.303, allocations: 7.359 kB / 0.7162 GB, free: 16.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.321, allocations: 8.13 MB / 0.7242 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.321, allocations: 0 / 0.7242 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/1.322, allocations: 236.9 kB / 0.7244 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/1.327, allocations: 1.28 MB / 0.7256 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/1.327, allocations: 35.23 kB / 0.7257 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.338, allocations: 7.825 MB / 0.7333 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.338, allocations: 7.969 kB / 0.7333 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.353, allocations: 6.505 MB / 0.7397 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.355, allocations: 0.6016 MB / 0.7403 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005727/1.356, allocations: 31.98 kB / 0.7403 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.357, allocations: 83.91 kB / 0.7404 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/1.358, allocations: 113.1 kB / 0.7405 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.358, allocations: 44 kB / 0.7405 GB, free: 12.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004505/1.362, allocations: 2.301 MB / 0.7428 GB, free: 10.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.362, allocations: 0 / 0.7428 GB, free: 10.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006988/1.369, allocations: 0.9684 MB / 0.7437 GB, free: 9.363 MB / 442.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 () * Number of clocked 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.0005496/1.37, allocations: 167.8 kB / 0.7439 GB, free: 9.195 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009563/1.379, allocations: 4.989 MB / 0.7488 GB, free: 4.223 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/1.38, allocations: 4.438 kB / 0.7488 GB, free: 4.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002896/1.382, allocations: 1.629 MB / 0.7503 GB, free: 2.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.385, allocations: 373.1 kB / 0.7507 GB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2598/1.645, allocations: 9.662 MB / 0.7601 GB, free: 87.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/1.65, allocations: 3.038 MB / 0.7631 GB, free: 86.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004814/1.654, allocations: 1.808 MB / 0.7649 GB, free: 86.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/1.655, allocations: 223.4 kB / 0.7651 GB, free: 86.91 MB / 442.7 MB Notification: Performance of SimCode: time 1.744e-06/1.655, allocations: 0 / 0.7651 GB, free: 86.91 MB / 442.7 MB Notification: Performance of Templates: time 0.08113/1.736, allocations: 35.97 MB / 0.8002 GB, free: 85.49 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)