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.008679/0.008679, allocations: 177.3 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.647/1.647, allocations: 194.5 MB / 210.3 MB, free: 11.35 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.002066/0.002065, allocations: 116.6 kB / 255.6 MB, free: 14.47 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.3164/0.3164, allocations: 40.01 MB / 340.8 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 12 kB / 406.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3003, allocations: 54.86 MB / 461 MB, free: 24.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4387, allocations: 104.9 MB / 0.5527 GB, free: 2.215 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.439, allocations: 83.95 kB / 0.5528 GB, free: 2.133 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4607/0.8997, allocations: 110.7 MB / 0.6609 GB, free: 1.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8998, allocations: 0 / 0.6609 GB, free: 1.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002835/0.9001, allocations: 116 kB / 0.661 GB, free: 0.9609 MB / 394.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.02244/0.9225, allocations: 6.345 MB / 0.6672 GB, free: 10.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9226, allocations: 8.031 kB / 0.6672 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02781/0.9504, allocations: 6.895 MB / 0.674 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/0.9717, allocations: 7.105 MB / 0.6809 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005059/0.9723, allocations: 410.8 kB / 0.6813 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003125/0.9754, allocations: 0.5387 MB / 0.6818 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/1.01, allocations: 14.12 MB / 0.6956 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002979/1.011, allocations: 63.41 kB / 0.6957 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001706/1.012, allocations: 259.9 kB / 0.6959 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002056/1.014, allocations: 1.364 MB / 0.6972 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/1.041, allocations: 11.72 MB / 0.7087 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3073/1.349, allocations: 60.64 MB / 0.7679 GB, free: 41.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01605/1.365, allocations: 5.801 MB / 0.7736 GB, free: 40.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01996/1.385, allocations: 14.75 MB / 0.788 GB, free: 36.49 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/1.385, allocations: 58.28 kB / 0.788 GB, free: 36.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 4.999e-06/1.385, allocations: 3.812 kB / 0.788 GB, free: 36.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=263): time 0.07213/1.457, allocations: 25.42 MB / 0.8128 GB, free: 29.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/1.457, allocations: 260.9 kB / 0.8131 GB, free: 29.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/1.463, allocations: 4.44 MB / 0.8174 GB, free: 28.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004413/1.463, allocations: 69.19 kB / 0.8175 GB, free: 28.14 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.465, allocations: 3.96 MB / 0.8214 GB, free: 25.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00119/1.466, allocations: 0.9857 MB / 0.8223 GB, free: 24.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/1.467, allocations: 144.7 kB / 0.8225 GB, free: 24.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003522/1.467, allocations: 0.6319 MB / 0.8231 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/1.471, allocations: 2.567 MB / 0.8256 GB, free: 23.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005061/1.476, allocations: 6.892 MB / 0.8323 GB, free: 16.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/1.481, allocations: 4.109 MB / 0.8363 GB, free: 15.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.481, allocations: 41.41 kB / 0.8364 GB, free: 15.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01542/1.497, allocations: 9.711 MB / 0.8459 GB, free: 10.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/1.497, allocations: 68 kB / 0.8459 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/1.497, allocations: 152 kB / 0.8461 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/1.498, allocations: 0.59 MB / 0.8466 GB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005272/1.504, allocations: 1.731 MB / 0.8483 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005008/1.509, allocations: 5.716 MB / 0.8539 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/1.514, allocations: 399.7 kB / 0.8543 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008825/1.515, allocations: 444.9 kB / 0.8547 GB, free: 2.082 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (912): * Single equations (assignments): 907 * 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.004315/1.519, allocations: 2.621 MB / 0.8573 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009184/1.52, allocations: 473.7 kB / 0.8577 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00664/1.527, allocations: 4.015 MB / 0.8616 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-05/1.527, allocations: 31.95 kB / 0.8617 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.527, allocations: 4 kB / 0.8617 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.527, allocations: 16.66 kB / 0.8617 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/1.546, allocations: 10.27 MB / 0.8717 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.546, allocations: 3.281 kB / 0.8717 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.548, allocations: 468.3 kB / 0.8722 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/1.549, allocations: 348.2 kB / 0.8725 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/1.55, allocations: 44 kB / 0.8726 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005509/1.555, allocations: 5.069 MB / 0.8775 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.555, allocations: 0 / 0.8775 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009961/1.565, allocations: 7.151 MB / 0.8845 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/1.568, allocations: 0.8181 MB / 0.8853 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007392/1.568, allocations: 43.7 kB / 0.8853 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.57, allocations: 157.1 kB / 0.8855 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.571, allocations: 147.3 kB / 0.8856 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.571, allocations: 68.41 kB / 0.8857 GB, free: 6.539 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005339/1.576, allocations: 3.117 MB / 0.8887 GB, free: 3.992 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.576, allocations: 0 / 0.8887 GB, free: 3.992 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006451/1.583, allocations: 1.29 MB / 0.89 GB, free: 2.711 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 219 * 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.0005268/1.583, allocations: 204.9 kB / 0.8902 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009954/1.593, allocations: 6.454 MB / 0.8965 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.593, allocations: 0 / 0.8965 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003032/1.596, allocations: 2.205 MB / 0.8986 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/1.599, allocations: 0.5545 MB / 0.8992 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2486/1.848, allocations: 14.4 MB / 0.9132 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006929/1.855, allocations: 4.216 MB / 0.9174 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007422/1.862, allocations: 2.387 MB / 0.9197 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.864, allocations: 322.6 kB / 0.92 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/1.864, allocations: 0 / 0.92 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.08215/1.946, allocations: 44.83 MB / 0.9638 GB, free: 115.6 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)