Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001318/0.001318, allocations: 180.5 kB / 7.651 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.525/1.525, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.00168/0.00168, allocations: 105.9 kB / 247.4 MB, free: 6.223 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.2031/0.2031, allocations: 39.95 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.921e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5069, allocations: 105 MB / 0.5402 GB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5072, allocations: 77.83 kB / 0.5403 GB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6459/1.153, allocations: 133.1 MB / 0.6703 GB, free: 87.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.153, allocations: 2.781 kB / 0.6703 GB, free: 87.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004748/1.154, allocations: 136.8 kB / 0.6704 GB, free: 87.32 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02704/1.181, allocations: 7.026 MB / 0.6773 GB, free: 86.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.181, allocations: 9.875 kB / 0.6773 GB, free: 86.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0328/1.214, allocations: 7.561 MB / 0.6847 GB, free: 85.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0239/1.238, allocations: 9.78 MB / 0.6942 GB, free: 85.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/1.238, allocations: 209 kB / 0.6944 GB, free: 85.03 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003566/1.242, allocations: 405.4 kB / 0.6948 GB, free: 85.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01847/1.26, allocations: 9.654 MB / 0.7042 GB, free: 84.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03003/1.29, allocations: 14.2 MB / 0.7181 GB, free: 81.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.291, allocations: 106.1 kB / 0.7182 GB, free: 81.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.292, allocations: 45.64 kB / 0.7182 GB, free: 81.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/1.293, allocations: 1.573 MB / 0.7198 GB, free: 81.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07267/1.366, allocations: 73.62 MB / 0.7917 GB, free: 30.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006709/1.373, allocations: 5.121 MB / 0.7967 GB, free: 27.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004262/1.377, allocations: 3.708 MB / 0.8003 GB, free: 24.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/1.379, allocations: 2.262 MB / 0.8025 GB, free: 21.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.692e-05/1.38, allocations: 68.36 kB / 0.8026 GB, free: 21.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 1.047e-05/1.38, allocations: 0 / 0.8026 GB, free: 21.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=374): time 0.1021/1.482, allocations: 39.65 MB / 0.8413 GB, free: 4.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.482, allocations: 265.8 kB / 0.8415 GB, free: 4.184 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009151/1.491, allocations: 4.644 MB / 0.8461 GB, free: 140 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008396/1.492, allocations: 25.7 kB / 0.8461 GB, free: 108 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3012/1.793, allocations: 4.825 MB / 0.8508 GB, free: 98.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.795, allocations: 1.332 MB / 0.8521 GB, free: 97.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008233/1.796, allocations: 0.8125 kB / 0.8521 GB, free: 97.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005285/1.797, allocations: 0.7034 MB / 0.8528 GB, free: 97.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/1.802, allocations: 3.618 MB / 0.8563 GB, free: 97.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00824/1.811, allocations: 8.892 MB / 0.865 GB, free: 90.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009441/1.82, allocations: 5.543 MB / 0.8704 GB, free: 90.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002439/1.82, allocations: 59.52 kB / 0.8705 GB, free: 90.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.03416/1.854, allocations: 15.52 MB / 0.8856 GB, free: 89.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000382/1.855, allocations: 87.84 kB / 0.8857 GB, free: 89.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004008/1.855, allocations: 185.8 kB / 0.8859 GB, free: 89.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/1.869, allocations: 4.118 MB / 0.8899 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007714/1.876, allocations: 2.096 MB / 0.892 GB, free: 89.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02975/1.906, allocations: 21.07 MB / 0.9125 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009431/1.916, allocations: 382.2 kB / 0.9129 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002604/1.918, allocations: 0.5496 MB / 0.9134 GB, free: 83.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * 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 (1114): * Single equations (assignments): 1109 * 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.003845/1.922, allocations: 0.5711 MB / 0.914 GB, free: 83.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/1.924, allocations: 0.5477 MB / 0.9145 GB, free: 83.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/1.947, allocations: 9.551 MB / 0.9239 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.387e-05/1.947, allocations: 41.41 kB / 0.9239 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.34e-05/1.947, allocations: 14.44 kB / 0.9239 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/1.947, allocations: 21.14 kB / 0.9239 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0391/1.986, allocations: 18.1 MB / 0.9416 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/1.986, allocations: 6.25 kB / 0.9416 GB, free: 73.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.989, allocations: 0.5151 MB / 0.9421 GB, free: 73.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/2, allocations: 3.561 MB / 0.9456 GB, free: 71.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007089/2.001, allocations: 18.7 kB / 0.9456 GB, free: 71.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/2.024, allocations: 17.69 MB / 0.9629 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/2.025, allocations: 4 kB / 0.9629 GB, free: 56.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/2.05, allocations: 14.24 MB / 0.9768 GB, free: 44.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/2.053, allocations: 1.079 MB / 0.9779 GB, free: 43.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001637/2.055, allocations: 4.844 kB / 0.9779 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/2.059, allocations: 189 kB / 0.978 GB, free: 43.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/2.06, allocations: 233.6 kB / 0.9783 GB, free: 43.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004081/2.061, allocations: 99.94 kB / 0.9784 GB, free: 43.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009362/2.07, allocations: 3.114 MB / 0.9814 GB, free: 40.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.07, allocations: 0 / 0.9814 GB, free: 40.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0117/2.082, allocations: 1.615 MB / 0.983 GB, free: 39.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (277): * Single equations (assignments): 272 * 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.0009744/2.083, allocations: 165.2 kB / 0.9831 GB, free: 39.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/2.096, allocations: 9.167 MB / 0.9921 GB, free: 30.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/2.096, allocations: 0 / 0.9921 GB, free: 30.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004544/2.1, allocations: 3.626 MB / 0.9956 GB, free: 27.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/2.104, allocations: 0.5792 MB / 0.9962 GB, free: 27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/2.13, allocations: 12.98 MB / 1.009 GB, free: 14.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008208/2.138, allocations: 5.003 MB / 1.014 GB, free: 9.602 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008283/2.147, allocations: 2.866 MB / 1.017 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/2.148, allocations: 367.4 kB / 1.017 GB, free: 6.391 MB / 490.7 MB Notification: Performance of SimCode: time 3.006e-06/2.148, allocations: 0 / 1.017 GB, free: 6.391 MB / 490.7 MB Notification: Performance of Templates: time 0.443/2.591, allocations: 69.08 MB / 1.084 GB, free: 94.31 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)