Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007525/0.007525, allocations: 165.7 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.36/1.36, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001702/0.001702, allocations: 114.7 kB / 226.2 MB, free: 10.12 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.2902/0.2902, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 19.98 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 48.7 MB / 411.6 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3689/0.4826, allocations: 99.02 MB / 0.4986 GB, free: 5.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4829, allocations: 74.41 kB / 0.4987 GB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.556/1.039, allocations: 135.6 MB / 0.6311 GB, free: 73.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.039, allocations: 0 / 0.6311 GB, free: 73.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004997/1.039, allocations: 130.7 kB / 0.6312 GB, free: 73.49 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02861/1.068, allocations: 7.65 MB / 0.6387 GB, free: 70.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/1.068, allocations: 7.844 kB / 0.6387 GB, free: 70.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03026/1.098, allocations: 7.553 MB / 0.6461 GB, free: 70.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0251/1.124, allocations: 9.831 MB / 0.6557 GB, free: 69.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/1.124, allocations: 489.5 kB / 0.6561 GB, free: 69.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005032/1.129, allocations: 0.6656 MB / 0.6568 GB, free: 69.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04335/1.173, allocations: 16.71 MB / 0.6731 GB, free: 61.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006255/1.173, allocations: 98.78 kB / 0.6732 GB, free: 61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004187/1.177, allocations: 314.1 kB / 0.6735 GB, free: 60.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/1.181, allocations: 1.584 MB / 0.675 GB, free: 60.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0388/1.22, allocations: 13.75 MB / 0.6885 GB, free: 54.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.414/1.634, allocations: 74.33 MB / 0.761 GB, free: 38.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/1.654, allocations: 7.731 MB / 0.7686 GB, free: 38.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03064/1.685, allocations: 18.71 MB / 0.7869 GB, free: 33.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/1.685, allocations: 67.41 kB / 0.7869 GB, free: 33.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 5.44e-06/1.685, allocations: 0 / 0.7869 GB, free: 33.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=367): time 0.1713/1.857, allocations: 50.5 MB / 0.8362 GB, free: 26.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.857, allocations: 272.6 kB / 0.8365 GB, free: 25.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.867, allocations: 5.379 MB / 0.8418 GB, free: 24.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.868, allocations: 77.11 kB / 0.8418 GB, free: 23.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003917/1.872, allocations: 4.764 MB / 0.8465 GB, free: 20.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.874, allocations: 1.342 MB / 0.8478 GB, free: 19.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006779/1.875, allocations: 188 kB / 0.848 GB, free: 19.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004084/1.876, allocations: 0.6967 MB / 0.8487 GB, free: 18.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005282/1.881, allocations: 3.81 MB / 0.8524 GB, free: 17.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008876/1.89, allocations: 8.992 MB / 0.8612 GB, free: 8.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008257/1.898, allocations: 5.665 MB / 0.8667 GB, free: 4.043 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/1.898, allocations: 52 kB / 0.8667 GB, free: 3.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04338/1.942, allocations: 17.04 MB / 0.8834 GB, free: 7.637 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001957/1.942, allocations: 83.61 kB / 0.8835 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003667/1.942, allocations: 184 kB / 0.8836 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/1.956, allocations: 4.13 MB / 0.8877 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007958/1.964, allocations: 2.046 MB / 0.8897 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04016/2.005, allocations: 23.04 MB / 0.9122 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008128/2.013, allocations: 0.548 MB / 0.9127 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002644/2.016, allocations: 0.5351 MB / 0.9132 GB, free: 11.65 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008995/2.025, allocations: 3.113 MB / 0.9163 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001772/2.026, allocations: 0.5746 MB / 0.9168 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02685/2.053, allocations: 9.84 MB / 0.9264 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.778e-05/2.053, allocations: 42.39 kB / 0.9265 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/2.053, allocations: 20 kB / 0.9265 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.928e-05/2.053, allocations: 23.89 kB / 0.9265 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05083/2.104, allocations: 19.26 MB / 0.9453 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-05/2.104, allocations: 3.938 kB / 0.9453 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/2.107, allocations: 0.5144 MB / 0.9458 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/2.12, allocations: 3.614 MB / 0.9494 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000785/2.121, allocations: 62.17 kB / 0.9494 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2691/2.39, allocations: 19.8 MB / 0.9688 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/2.39, allocations: 10.97 kB / 0.9688 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/2.418, allocations: 14.35 MB / 0.9828 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00413/2.422, allocations: 1.117 MB / 0.9839 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00151/2.424, allocations: 60.77 kB / 0.9839 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/2.427, allocations: 225.1 kB / 0.9841 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008397/2.428, allocations: 231.2 kB / 0.9844 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/2.428, allocations: 89.25 kB / 0.9844 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008157/2.436, allocations: 3.792 MB / 0.9882 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.81e-07/2.437, allocations: 1.125 kB / 0.9882 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01112/2.448, allocations: 1.845 MB / 0.99 GB, free: 143.7 MB / 0.5105 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * 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.001075/2.449, allocations: 223.2 kB / 0.9902 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01565/2.464, allocations: 9.728 MB / 0.9997 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.464, allocations: 4.5 kB / 0.9997 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005575/2.47, allocations: 3.783 MB / 1.003 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/2.475, allocations: 0.715 MB / 1.004 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/2.505, allocations: 18.38 MB / 1.022 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006064/2.511, allocations: 5.011 MB / 1.027 GB, free: 129 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007214/2.518, allocations: 2.804 MB / 1.03 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/2.519, allocations: 384.7 kB / 1.03 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/2.519, allocations: 0 / 1.03 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.1323/2.652, allocations: 75.62 MB / 1.104 GB, free: 82.99 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)