Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000982/0.0009821, allocations: 177.7 kB / 7.652 MB, free: 1.426 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.404/1.404, allocations: 194.4 MB / 202.4 MB, free: 12.96 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.001747/0.001747, allocations: 120 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1648/0.1648, allocations: 39.95 MB / 332.2 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.418e-05, allocations: 4 kB / 393.3 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2438, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.5896, allocations: 104.2 MB / 0.5394 GB, free: 34.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.5898, allocations: 74.78 kB / 0.5395 GB, free: 34.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2651/0.8549, allocations: 108.4 MB / 0.6453 GB, free: 348 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.855, allocations: 4 kB / 0.6453 GB, free: 344 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003717/0.8554, allocations: 116 kB / 0.6454 GB, free: 228 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.01979/0.8752, allocations: 5.865 MB / 0.6512 GB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.8752, allocations: 12.03 kB / 0.6512 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02957/0.9048, allocations: 6.892 MB / 0.6579 GB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0228/0.9277, allocations: 7.075 MB / 0.6648 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006297/0.9284, allocations: 176 kB / 0.665 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003792/0.9322, allocations: 323.9 kB / 0.6653 GB, free: 11.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0205/0.9527, allocations: 8.101 MB / 0.6732 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02772/0.9805, allocations: 12.03 MB / 0.685 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005119/0.9811, allocations: 79.3 kB / 0.685 GB, free: 6.359 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002757/0.9839, allocations: 32 kB / 0.6851 GB, free: 6.328 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002487/0.9864, allocations: 1.36 MB / 0.6864 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3255/1.312, allocations: 60.59 MB / 0.7456 GB, free: 61.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008412/1.32, allocations: 4.362 MB / 0.7498 GB, free: 60.88 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005569/1.326, allocations: 3.056 MB / 0.7528 GB, free: 60.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/1.351, allocations: 12.36 MB / 0.7649 GB, free: 58.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/1.352, allocations: 58.84 kB / 0.7649 GB, free: 57.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.715e-06/1.352, allocations: 0 / 0.7649 GB, free: 57.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=264): time 0.05041/1.402, allocations: 24.84 MB / 0.7892 GB, free: 51.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/1.402, allocations: 259.3 kB / 0.7894 GB, free: 50.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/1.407, allocations: 3.855 MB / 0.7932 GB, free: 49.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/1.407, allocations: 29.7 kB / 0.7932 GB, free: 49.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.409, allocations: 4.025 MB / 0.7972 GB, free: 46.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006086/1.409, allocations: 0.9596 MB / 0.7981 GB, free: 45.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/1.409, allocations: 2.938 kB / 0.7981 GB, free: 45.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/1.41, allocations: 0.6248 MB / 0.7987 GB, free: 45.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/1.412, allocations: 2.429 MB / 0.8011 GB, free: 44.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/1.416, allocations: 6.881 MB / 0.8078 GB, free: 37.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/1.421, allocations: 4.044 MB / 0.8117 GB, free: 36.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.561e-05/1.421, allocations: 44.12 kB / 0.8118 GB, free: 36.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01107/1.432, allocations: 8.776 MB / 0.8204 GB, free: 33.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/1.432, allocations: 72.62 kB / 0.8204 GB, free: 33.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.432, allocations: 163.9 kB / 0.8206 GB, free: 33.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009982/1.433, allocations: 0.5848 MB / 0.8212 GB, free: 33.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004897/1.438, allocations: 1.79 MB / 0.8229 GB, free: 32.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/1.442, allocations: 5.425 MB / 0.8282 GB, free: 27.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00494/1.447, allocations: 261.3 kB / 0.8285 GB, free: 27.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009006/1.448, allocations: 463.5 kB / 0.8289 GB, free: 27.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (943): * Single equations (assignments): 938 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008883/1.449, allocations: 0.5007 MB / 0.8294 GB, free: 26.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/1.45, allocations: 442.2 kB / 0.8298 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/1.455, allocations: 3.781 MB / 0.8335 GB, free: 23.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.455, allocations: 28 kB / 0.8335 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.455, allocations: 7.938 kB / 0.8335 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.455, allocations: 15.34 kB / 0.8335 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.467, allocations: 9.009 MB / 0.8423 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.467, allocations: 3.438 kB / 0.8423 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.47, allocations: 471.7 kB / 0.8428 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008056/1.47, allocations: 338.6 kB / 0.8431 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001473/1.471, allocations: 7.797 kB / 0.8431 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003614/1.474, allocations: 4.749 MB / 0.8478 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.474, allocations: 4 kB / 0.8478 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007036/1.481, allocations: 6.884 MB / 0.8545 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.483, allocations: 0.7836 MB / 0.8553 GB, free: 3.547 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/1.483, allocations: 15.2 kB / 0.8553 GB, free: 3.539 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.485, allocations: 122.2 kB / 0.8554 GB, free: 3.469 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/1.485, allocations: 147.6 kB / 0.8555 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.485, allocations: 64 kB / 0.8556 GB, free: 3.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003066/1.489, allocations: 2.583 MB / 0.8581 GB, free: 1.082 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.489, allocations: 0 / 0.8581 GB, free: 1.082 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005169/1.494, allocations: 1.12 MB / 0.8592 GB, free: 0 / 474.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 (225): * Single equations (assignments): 220 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004445/1.494, allocations: 160.2 kB / 0.8594 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008253/1.502, allocations: 6.061 MB / 0.8653 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.502, allocations: 0.875 kB / 0.8653 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002501/1.505, allocations: 2.123 MB / 0.8674 GB, free: 8.355 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/1.507, allocations: 467.1 kB / 0.8678 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.526, allocations: 10.07 MB / 0.8776 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00491/1.53, allocations: 4.218 MB / 0.8818 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006234/1.537, allocations: 2.421 MB / 0.8841 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009915/1.538, allocations: 309.2 kB / 0.8844 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/1.538, allocations: 0 / 0.8844 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.3338/1.872, allocations: 39.85 MB / 0.9233 GB, free: 115.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)