Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001066/0.001066, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.162/1.162, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001508/0.001508, allocations: 107.5 kB / 223.2 MB, free: 4.043 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.163/0.163, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.441e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09474, allocations: 48.71 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3754/0.4702, allocations: 98.81 MB / 0.4927 GB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4705, allocations: 79.2 kB / 0.4928 GB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6256/1.096, allocations: 135.7 MB / 0.6253 GB, free: 67.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.108e-06/1.096, allocations: 1.094 kB / 0.6253 GB, free: 67.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004344/1.097, allocations: 133.9 kB / 0.6254 GB, free: 67.33 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: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.02949/1.126, allocations: 7.037 MB / 0.6323 GB, free: 64.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.126, allocations: 10.28 kB / 0.6323 GB, free: 64.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03502/1.161, allocations: 7.555 MB / 0.6397 GB, free: 64.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02729/1.189, allocations: 9.781 MB / 0.6492 GB, free: 63.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006103/1.189, allocations: 488.2 kB / 0.6497 GB, free: 63.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003927/1.193, allocations: 0.6576 MB / 0.6503 GB, free: 63.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04494/1.238, allocations: 16.54 MB / 0.6665 GB, free: 59.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000689/1.239, allocations: 101.5 kB / 0.6666 GB, free: 59.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003482/1.242, allocations: 317.1 kB / 0.6669 GB, free: 59.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002709/1.245, allocations: 1.571 MB / 0.6684 GB, free: 59.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02878/1.274, allocations: 13.48 MB / 0.6816 GB, free: 59.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09155/1.366, allocations: 74.23 MB / 0.7541 GB, free: 18.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02204/1.388, allocations: 7.659 MB / 0.7615 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005288/1.393, allocations: 3.916 MB / 0.7654 GB, free: 8.641 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03469/1.428, allocations: 18.69 MB / 0.7836 GB, free: 8.367 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.799e-05/1.428, allocations: 64.03 kB / 0.7837 GB, free: 8.301 MB / 458.7 MB Notification: Performance of pre-optimization done (n=280): time 4.437e-05/1.428, allocations: 0 / 0.7837 GB, free: 8.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=361): time 0.4362/1.864, allocations: 40.74 MB / 0.8235 GB, free: 91.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/1.864, allocations: 268.3 kB / 0.8237 GB, free: 90.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009862/1.874, allocations: 5.3 MB / 0.8289 GB, free: 90.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001143/1.875, allocations: 84.44 kB / 0.829 GB, free: 90.23 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003898/1.879, allocations: 4.756 MB / 0.8336 GB, free: 88.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002183/1.881, allocations: 1.331 MB / 0.8349 GB, free: 87.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006796/1.882, allocations: 186.7 kB / 0.8351 GB, free: 87.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004065/1.883, allocations: 0.6917 MB / 0.8358 GB, free: 87.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005149/1.888, allocations: 3.657 MB / 0.8393 GB, free: 87.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008192/1.896, allocations: 8.842 MB / 0.848 GB, free: 80.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009019/1.905, allocations: 5.574 MB / 0.8534 GB, free: 80.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/1.905, allocations: 50.56 kB / 0.8535 GB, free: 80.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.03714/1.942, allocations: 16.39 MB / 0.8695 GB, free: 76.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003261/1.943, allocations: 81.12 kB / 0.8696 GB, free: 76.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000401/1.943, allocations: 183 kB / 0.8697 GB, free: 76.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01366/1.957, allocations: 4.106 MB / 0.8737 GB, free: 75.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007998/1.965, allocations: 2.027 MB / 0.8757 GB, free: 75.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03279/1.998, allocations: 21.75 MB / 0.897 GB, free: 63.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009377/2.007, allocations: 0.5487 MB / 0.8975 GB, free: 62.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00227/2.009, allocations: 0.5335 MB / 0.898 GB, free: 62.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1077): * Single equations (assignments): 1072 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003569/2.013, allocations: 0.7914 MB / 0.8988 GB, free: 61.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.015, allocations: 0.5785 MB / 0.8994 GB, free: 60.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02265/2.038, allocations: 9.665 MB / 0.9088 GB, free: 53.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-05/2.038, allocations: 36 kB / 0.9088 GB, free: 53.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.501e-05/2.038, allocations: 20 kB / 0.9089 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.493e-05/2.038, allocations: 15.7 kB / 0.9089 GB, free: 53.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04522/2.083, allocations: 19.01 MB / 0.9274 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.976e-05/2.083, allocations: 0 / 0.9274 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/2.086, allocations: 0.4971 MB / 0.9279 GB, free: 38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/2.098, allocations: 3.624 MB / 0.9315 GB, free: 35.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008629/2.099, allocations: 67.38 kB / 0.9315 GB, free: 35.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02575/2.125, allocations: 18.7 MB / 0.9498 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.125, allocations: 0 / 0.9498 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3207/2.445, allocations: 14.06 MB / 0.9635 GB, free: 80.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00423/2.45, allocations: 1.107 MB / 0.9646 GB, free: 80.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/2.451, allocations: 61.77 kB / 0.9647 GB, free: 80.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/2.455, allocations: 233.9 kB / 0.9649 GB, free: 80.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008511/2.456, allocations: 225 kB / 0.9651 GB, free: 80.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003193/2.457, allocations: 94.2 kB / 0.9652 GB, free: 80.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008209/2.465, allocations: 3.704 MB / 0.9688 GB, free: 80.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.465, allocations: 0 / 0.9688 GB, free: 80.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01099/2.476, allocations: 1.84 MB / 0.9706 GB, free: 80.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 259 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/2.477, allocations: 221.5 kB / 0.9708 GB, free: 80.13 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01388/2.491, allocations: 9.427 MB / 0.98 GB, free: 79.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/2.491, allocations: 0 / 0.98 GB, free: 79.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005801/2.497, allocations: 3.676 MB / 0.9836 GB, free: 79.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004914/2.502, allocations: 0.7231 MB / 0.9843 GB, free: 79.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/2.525, allocations: 13.09 MB / 0.9971 GB, free: 77.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005639/2.531, allocations: 4.994 MB / 1.002 GB, free: 76.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007248/2.538, allocations: 2.793 MB / 1.005 GB, free: 76.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/2.539, allocations: 382.5 kB / 1.005 GB, free: 76.16 MB / 458.7 MB Notification: Performance of SimCode: time 9.32e-07/2.539, allocations: 0 / 1.005 GB, free: 76.16 MB / 458.7 MB Notification: Performance of Templates: time 0.123/2.662, allocations: 75.21 MB / 1.079 GB, free: 40.74 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)