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.0009588/0.0009588, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.229/1.229, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001595/0.001595, allocations: 99.53 kB / 218 MB, free: 8.406 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.1952/0.1952, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.757e-05, allocations: 3.312 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09153, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.436, allocations: 97.34 MB / 496.1 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4363, allocations: 80.09 kB / 496.2 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2782/0.7145, allocations: 108.3 MB / 0.5903 GB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7146, allocations: 0 / 0.5903 GB, free: 14.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000433/0.715, allocations: 108 kB / 0.5904 GB, free: 14.59 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.01996/0.735, allocations: 5.861 MB / 0.5961 GB, free: 8.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.735, allocations: 12.03 kB / 0.5961 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/0.7635, allocations: 6.899 MB / 0.6028 GB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/0.7831, allocations: 7.055 MB / 0.6097 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.7835, allocations: 180 kB / 0.6099 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002969/0.7865, allocations: 327.8 kB / 0.6102 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01779/0.8043, allocations: 8.105 MB / 0.6181 GB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2684/1.073, allocations: 12.02 MB / 0.6299 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002782/1.073, allocations: 74.28 kB / 0.6299 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009527/1.074, allocations: 38.56 kB / 0.63 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/1.076, allocations: 1.353 MB / 0.6313 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07185/1.148, allocations: 60.58 MB / 0.6904 GB, free: 40.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005851/1.154, allocations: 4.363 MB / 0.6947 GB, free: 37.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/1.158, allocations: 3.046 MB / 0.6977 GB, free: 36.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02038/1.179, allocations: 12.37 MB / 0.7098 GB, free: 30.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/1.179, allocations: 55.59 kB / 0.7098 GB, free: 30.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.552e-06/1.179, allocations: 3.062 kB / 0.7098 GB, free: 30.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.0564/1.235, allocations: 24.83 MB / 0.7341 GB, free: 20.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/1.235, allocations: 257 kB / 0.7343 GB, free: 20.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006871/1.242, allocations: 3.848 MB / 0.7381 GB, free: 19.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000631/1.243, allocations: 25.7 kB / 0.7381 GB, free: 19.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/1.245, allocations: 4.021 MB / 0.742 GB, free: 16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/1.246, allocations: 0.9698 MB / 0.743 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/1.247, allocations: 0 / 0.743 GB, free: 15.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000327/1.247, allocations: 0.6251 MB / 0.7436 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/1.25, allocations: 2.427 MB / 0.7459 GB, free: 13.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005218/1.255, allocations: 6.882 MB / 0.7527 GB, free: 6.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/1.261, allocations: 4.044 MB / 0.7566 GB, free: 3.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.177e-05/1.261, allocations: 44 kB / 0.7567 GB, free: 3.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01696/1.278, allocations: 8.782 MB / 0.7652 GB, free: 11.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.278, allocations: 72 kB / 0.7653 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002679/1.278, allocations: 167.6 kB / 0.7655 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/1.28, allocations: 0.5828 MB / 0.766 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007941/1.288, allocations: 1.795 MB / 0.7678 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007588/1.295, allocations: 5.409 MB / 0.7731 GB, free: 4.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008597/1.304, allocations: 264.2 kB / 0.7733 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/1.306, allocations: 454.3 kB / 0.7738 GB, free: 3.531 MB / 442.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.003757/1.31, allocations: 0.5162 MB / 0.7743 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002539/1.313, allocations: 438.4 kB / 0.7747 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3074/1.62, allocations: 3.879 MB / 0.7785 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.097e-05/1.62, allocations: 40.14 kB / 0.7785 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.62, allocations: 9.062 kB / 0.7785 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.131e-05/1.62, allocations: 10.5 kB / 0.7785 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.64, allocations: 9.001 MB / 0.7873 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.64, allocations: 2.594 kB / 0.7873 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.643, allocations: 465.8 kB / 0.7878 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009271/1.643, allocations: 344.7 kB / 0.7881 GB, free: 84.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/1.644, allocations: 8.719 kB / 0.7881 GB, free: 84.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/1.648, allocations: 4.75 MB / 0.7927 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.648, allocations: 1.375 kB / 0.7927 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009664/1.658, allocations: 6.886 MB / 0.7995 GB, free: 81.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.66, allocations: 0.7789 MB / 0.8002 GB, free: 81.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005584/1.66, allocations: 9.578 kB / 0.8002 GB, free: 81.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/1.662, allocations: 125.7 kB / 0.8004 GB, free: 81.39 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/1.663, allocations: 139.4 kB / 0.8005 GB, free: 81.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.663, allocations: 67.34 kB / 0.8005 GB, free: 81.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003967/1.667, allocations: 2.587 MB / 0.8031 GB, free: 81.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.667, allocations: 1.969 kB / 0.8031 GB, free: 81.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007464/1.674, allocations: 1.104 MB / 0.8042 GB, free: 81.2 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 () * 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.0005969/1.675, allocations: 155.4 kB / 0.8043 GB, free: 81.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009361/1.684, allocations: 6.066 MB / 0.8102 GB, free: 80.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.684, allocations: 0 / 0.8102 GB, free: 80.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002585/1.687, allocations: 2.131 MB / 0.8123 GB, free: 80.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/1.69, allocations: 466.8 kB / 0.8128 GB, free: 80.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.709, allocations: 9.963 MB / 0.8225 GB, free: 78.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004884/1.714, allocations: 4.21 MB / 0.8266 GB, free: 77.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006629/1.721, allocations: 2.419 MB / 0.829 GB, free: 77.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.722, allocations: 311.3 kB / 0.8293 GB, free: 77.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/1.722, allocations: 3 kB / 0.8293 GB, free: 77.83 MB / 442.7 MB Notification: Performance of Templates: time 0.07747/1.8, allocations: 39.87 MB / 0.8682 GB, free: 71.37 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)