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.005865/0.005865, allocations: 165.9 kB / 15.11 MB, free: 5.969 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.375/1.375, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001737/0.001737, allocations: 114.6 kB / 226.2 MB, free: 10.11 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.3739/0.3739, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 16 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 48.7 MB / 411.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3581/0.4802, allocations: 98.1 MB / 0.4977 GB, free: 5.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4804, allocations: 69.97 kB / 0.4978 GB, free: 5.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5231/1.003, allocations: 110.6 MB / 0.6058 GB, free: 74.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/1.004, allocations: 0 / 0.6058 GB, free: 74.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003242/1.004, allocations: 111.6 kB / 0.6059 GB, free: 74.86 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: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.02263/1.027, allocations: 6.345 MB / 0.6121 GB, free: 72.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.027, allocations: 7.844 kB / 0.6121 GB, free: 72.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/1.054, allocations: 6.894 MB / 0.6189 GB, free: 72.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/1.076, allocations: 7.095 MB / 0.6258 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007023/1.077, allocations: 416.8 kB / 0.6262 GB, free: 71.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003487/1.081, allocations: 0.536 MB / 0.6267 GB, free: 71.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/1.114, allocations: 14.1 MB / 0.6405 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.114, allocations: 76.98 kB / 0.6406 GB, free: 68.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/1.115, allocations: 259.8 kB / 0.6408 GB, free: 68.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/1.117, allocations: 1.359 MB / 0.6421 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/1.14, allocations: 11.72 MB / 0.6536 GB, free: 65.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0659/1.206, allocations: 60.62 MB / 0.7128 GB, free: 21.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.221, allocations: 5.818 MB / 0.7185 GB, free: 18.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01877/1.24, allocations: 14.75 MB / 0.7329 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/1.24, allocations: 60.5 kB / 0.7329 GB, free: 5.531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 5.3e-06/1.24, allocations: 0 / 0.7329 GB, free: 5.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.3079/1.548, allocations: 25.39 MB / 0.7577 GB, free: 86.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/1.548, allocations: 266.1 kB / 0.758 GB, free: 86.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009033/1.557, allocations: 4.442 MB / 0.7623 GB, free: 85.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005385/1.557, allocations: 60.08 kB / 0.7624 GB, free: 85.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/1.56, allocations: 3.969 MB / 0.7662 GB, free: 84.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.561, allocations: 0.9852 MB / 0.7672 GB, free: 83.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/1.561, allocations: 144.6 kB / 0.7673 GB, free: 83.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003651/1.562, allocations: 0.6129 MB / 0.7679 GB, free: 83.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/1.565, allocations: 2.57 MB / 0.7705 GB, free: 83.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00534/1.571, allocations: 6.892 MB / 0.7772 GB, free: 77.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005694/1.577, allocations: 4.11 MB / 0.7812 GB, free: 77.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/1.577, allocations: 45.22 kB / 0.7812 GB, free: 77.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01723/1.594, allocations: 9.698 MB / 0.7907 GB, free: 76.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/1.594, allocations: 70.78 kB / 0.7908 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002856/1.594, allocations: 154 kB / 0.7909 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.596, allocations: 0.5871 MB / 0.7915 GB, free: 76.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006787/1.603, allocations: 1.743 MB / 0.7932 GB, free: 76.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006657/1.609, allocations: 5.712 MB / 0.7988 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/1.618, allocations: 407.3 kB / 0.7992 GB, free: 73.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/1.619, allocations: 435.2 kB / 0.7996 GB, free: 73.38 MB / 442.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.007521/1.627, allocations: 2.634 MB / 0.8022 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.628, allocations: 470.8 kB / 0.8026 GB, free: 71.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00665/1.635, allocations: 4.013 MB / 0.8065 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.635, allocations: 26.78 kB / 0.8066 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/1.635, allocations: 12.38 kB / 0.8066 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.635, allocations: 11.02 kB / 0.8066 GB, free: 70.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.654, allocations: 10.27 MB / 0.8166 GB, free: 66.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.654, allocations: 0 / 0.8166 GB, free: 66.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.656, allocations: 471 kB / 0.8171 GB, free: 66.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009522/1.657, allocations: 342.2 kB / 0.8174 GB, free: 66.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002271/1.657, allocations: 45.97 kB / 0.8174 GB, free: 66.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004412/1.661, allocations: 5.064 MB / 0.8224 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.662, allocations: 4.438 kB / 0.8224 GB, free: 62.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008869/1.67, allocations: 7.151 MB / 0.8294 GB, free: 59.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/1.673, allocations: 0.8245 MB / 0.8302 GB, free: 58.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006457/1.674, allocations: 42.94 kB / 0.8302 GB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.676, allocations: 165.2 kB / 0.8304 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/1.676, allocations: 141.4 kB / 0.8305 GB, free: 58.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.676, allocations: 67.83 kB / 0.8306 GB, free: 58.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004672/1.681, allocations: 3.122 MB / 0.8336 GB, free: 57.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.681, allocations: 0 / 0.8336 GB, free: 57.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007181/1.688, allocations: 1.29 MB / 0.8349 GB, free: 57.65 MB / 442.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.0005253/1.689, allocations: 194.4 kB / 0.8351 GB, free: 57.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009103/1.698, allocations: 6.438 MB / 0.8413 GB, free: 55.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/1.698, allocations: 0 / 0.8413 GB, free: 55.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/1.7, allocations: 2.214 MB / 0.8435 GB, free: 54.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/1.703, allocations: 0.5543 MB / 0.844 GB, free: 53.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.725, allocations: 14.4 MB / 0.8581 GB, free: 46.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005511/1.731, allocations: 4.22 MB / 0.8622 GB, free: 45.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006415/1.737, allocations: 2.382 MB / 0.8645 GB, free: 43.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.738, allocations: 318.4 kB / 0.8649 GB, free: 43.28 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/1.738, allocations: 0 / 0.8649 GB, free: 43.28 MB / 442.7 MB Notification: Performance of Templates: time 0.07948/1.818, allocations: 44.83 MB / 0.9086 GB, free: 8.234 MB / 442.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)