Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001716/0.001715, allocations: 169.5 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.168/1.168, 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.001579/0.001579, 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.1579/0.1579, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.579e-05, allocations: 6.578 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07124/0.07128, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/0.3696, allocations: 98 MB / 0.4919 GB, free: 15.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3699, allocations: 78.62 kB / 0.492 GB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2736/0.6435, allocations: 110.7 MB / 0.6001 GB, free: 2.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6435, allocations: 0 / 0.6001 GB, free: 2.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000253/0.6438, allocations: 108 kB / 0.6002 GB, free: 2.586 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.0163/0.6601, allocations: 5.865 MB / 0.6059 GB, free: 12.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6601, allocations: 12.03 kB / 0.6059 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02725/0.6874, allocations: 6.892 MB / 0.6126 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2155/0.9029, allocations: 7.067 MB / 0.6195 GB, free: 75.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.9033, allocations: 413.4 kB / 0.6199 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002266/0.9055, allocations: 0.5417 MB / 0.6205 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.9355, allocations: 14 MB / 0.6341 GB, free: 72.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003266/0.9359, allocations: 79.2 kB / 0.6342 GB, free: 72.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001877/0.9378, allocations: 258 kB / 0.6345 GB, free: 72.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/0.9399, allocations: 1.356 MB / 0.6358 GB, free: 72.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.9631, allocations: 11.56 MB / 0.6471 GB, free: 72.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05902/1.022, allocations: 60.62 MB / 0.7063 GB, free: 32.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01526/1.038, allocations: 5.771 MB / 0.7119 GB, free: 30.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/1.041, allocations: 3.24 MB / 0.7151 GB, free: 29.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/1.06, allocations: 14.73 MB / 0.7295 GB, free: 21.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.06, allocations: 56.06 kB / 0.7295 GB, free: 21.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 5.69e-06/1.06, allocations: 3.938 kB / 0.7295 GB, free: 21.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.06248/1.123, allocations: 21.92 MB / 0.7509 GB, free: 5.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/1.123, allocations: 261.3 kB / 0.7512 GB, free: 5.059 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006323/1.129, allocations: 4.391 MB / 0.7555 GB, free: 1.262 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006548/1.13, allocations: 65.7 kB / 0.7555 GB, free: 1.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003554/1.134, allocations: 3.973 MB / 0.7594 GB, free: 13.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.135, allocations: 0.9848 MB / 0.7604 GB, free: 12.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006086/1.136, allocations: 144 kB / 0.7605 GB, free: 12.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000499/1.136, allocations: 0.6217 MB / 0.7611 GB, free: 12.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004114/1.14, allocations: 2.513 MB / 0.7636 GB, free: 9.824 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007073/1.147, allocations: 6.84 MB / 0.7702 GB, free: 1.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006289/1.154, allocations: 4.116 MB / 0.7743 GB, free: 13.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/1.154, allocations: 44 kB / 0.7743 GB, free: 13.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.0189/1.173, allocations: 9.588 MB / 0.7837 GB, free: 5.309 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/1.173, allocations: 72.81 kB / 0.7837 GB, free: 5.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/1.173, allocations: 152 kB / 0.7839 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/1.174, allocations: 0.5819 MB / 0.7844 GB, free: 4.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006153/1.181, allocations: 1.74 MB / 0.7861 GB, free: 3.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.224/1.405, allocations: 5.631 MB / 0.7916 GB, free: 93.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005823/1.411, allocations: 400.4 kB / 0.792 GB, free: 93.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/1.412, allocations: 441.6 kB / 0.7924 GB, free: 93.1 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 () * 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.001655/1.414, allocations: 0.6745 MB / 0.7931 GB, free: 92.99 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.415, allocations: 468.9 kB / 0.7935 GB, free: 92.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007056/1.422, allocations: 3.977 MB / 0.7974 GB, free: 92.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.716e-05/1.422, allocations: 26.28 kB / 0.7975 GB, free: 92.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.422, allocations: 11.48 kB / 0.7975 GB, free: 92.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/1.422, allocations: 15.75 kB / 0.7975 GB, free: 92.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.441, allocations: 10.22 MB / 0.8075 GB, free: 92.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.441, allocations: 5.266 kB / 0.8075 GB, free: 92.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/1.443, allocations: 466 kB / 0.8079 GB, free: 92.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009064/1.444, allocations: 351.7 kB / 0.8082 GB, free: 92.26 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/1.444, allocations: 45.58 kB / 0.8083 GB, free: 92.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/1.449, allocations: 4.95 MB / 0.8131 GB, free: 89.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.449, allocations: 0 / 0.8131 GB, free: 89.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009725/1.458, allocations: 7.085 MB / 0.82 GB, free: 89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/1.461, allocations: 0.8212 MB / 0.8208 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006493/1.461, allocations: 43.25 kB / 0.8209 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.463, allocations: 161 kB / 0.821 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/1.464, allocations: 143.4 kB / 0.8212 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.464, allocations: 70.67 kB / 0.8212 GB, free: 88.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004202/1.468, allocations: 3.079 MB / 0.8243 GB, free: 88.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.468, allocations: 0 / 0.8243 GB, free: 88.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005519/1.473, allocations: 1.293 MB / 0.8255 GB, free: 88.67 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 (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.0004651/1.474, allocations: 182.8 kB / 0.8257 GB, free: 88.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008379/1.482, allocations: 6.364 MB / 0.8319 GB, free: 88.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.482, allocations: 0 / 0.8319 GB, free: 88.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/1.485, allocations: 2.191 MB / 0.834 GB, free: 87.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.488, allocations: 0.5526 MB / 0.8346 GB, free: 87.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.505, allocations: 10.08 MB / 0.8444 GB, free: 83.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004515/1.51, allocations: 4.215 MB / 0.8485 GB, free: 82.02 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005861/1.516, allocations: 2.389 MB / 0.8509 GB, free: 81.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.517, allocations: 324.9 kB / 0.8512 GB, free: 81.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.283e-06/1.517, allocations: 0 / 0.8512 GB, free: 81.96 MB / 458.7 MB Notification: Performance of Templates: time 0.07524/1.592, allocations: 44.84 MB / 0.895 GB, free: 65.47 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)