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.001411/0.001411, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.441/1.441, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001581/0.001581, allocations: 114.2 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2217/0.2217, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.289e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.5849, allocations: 104.8 MB / 0.5469 GB, free: 3.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.5852, allocations: 71.58 kB / 0.5469 GB, free: 2.996 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2897/0.8749, allocations: 110.8 MB / 0.6551 GB, free: 11.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.875, allocations: 0 / 0.6551 GB, free: 11.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003109/0.8753, allocations: 112 kB / 0.6552 GB, free: 11.58 MB / 474.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.02223/0.8976, allocations: 5.876 MB / 0.661 GB, free: 5.637 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.493e-05/0.8977, allocations: 12.02 kB / 0.661 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3798/1.277, allocations: 6.888 MB / 0.6677 GB, free: 95.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/1.299, allocations: 7.068 MB / 0.6746 GB, free: 94.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/1.3, allocations: 411.7 kB / 0.675 GB, free: 94.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003403/1.303, allocations: 0.5412 MB / 0.6755 GB, free: 94.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/1.336, allocations: 14 MB / 0.6892 GB, free: 91.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/1.336, allocations: 82.2 kB / 0.6893 GB, free: 91.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009952/1.337, allocations: 261 kB / 0.6895 GB, free: 91.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/1.339, allocations: 1.363 MB / 0.6909 GB, free: 91.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/1.363, allocations: 11.56 MB / 0.7022 GB, free: 91.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.071/1.434, allocations: 60.62 MB / 0.7614 GB, free: 50.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.45, allocations: 5.784 MB / 0.767 GB, free: 48.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004512/1.455, allocations: 3.244 MB / 0.7702 GB, free: 46.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/1.474, allocations: 14.73 MB / 0.7846 GB, free: 37.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.474, allocations: 52.56 kB / 0.7846 GB, free: 37.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 5.029e-06/1.474, allocations: 4 kB / 0.7846 GB, free: 37.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.06176/1.536, allocations: 21.91 MB / 0.806 GB, free: 19.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.536, allocations: 261.3 kB / 0.8063 GB, free: 18.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006823/1.543, allocations: 4.396 MB / 0.8106 GB, free: 15.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006332/1.544, allocations: 65.7 kB / 0.8106 GB, free: 15.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002428/1.546, allocations: 3.962 MB / 0.8145 GB, free: 11.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001478/1.548, allocations: 0.9831 MB / 0.8154 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.548, allocations: 148 kB / 0.8156 GB, free: 10.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003452/1.548, allocations: 0.6217 MB / 0.8162 GB, free: 9.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/1.552, allocations: 2.521 MB / 0.8187 GB, free: 7.641 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005645/1.557, allocations: 6.841 MB / 0.8253 GB, free: 15.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006732/1.564, allocations: 4.107 MB / 0.8293 GB, free: 11.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.849e-05/1.564, allocations: 44 kB / 0.8294 GB, free: 11.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01958/1.584, allocations: 9.583 MB / 0.8387 GB, free: 3.004 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/1.584, allocations: 68 kB / 0.8388 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002332/1.584, allocations: 152.9 kB / 0.839 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/1.586, allocations: 0.5911 MB / 0.8395 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006411/1.592, allocations: 1.742 MB / 0.8412 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/1.599, allocations: 5.612 MB / 0.8467 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.605, allocations: 405.1 kB / 0.8471 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.606, allocations: 443.4 kB / 0.8475 GB, free: 10.65 MB / 0.4948 GB 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.001239/1.607, allocations: 0.6768 MB / 0.8482 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009908/1.608, allocations: 473.9 kB / 0.8486 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007042/1.615, allocations: 3.967 MB / 0.8525 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.753e-05/1.615, allocations: 28 kB / 0.8525 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.615, allocations: 7.953 kB / 0.8525 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/1.615, allocations: 11.67 kB / 0.8526 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3556/1.971, allocations: 10.24 MB / 0.8626 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/1.971, allocations: 4.469 kB / 0.8626 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.974, allocations: 471.8 kB / 0.863 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/1.975, allocations: 345.8 kB / 0.8633 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/1.975, allocations: 44.23 kB / 0.8634 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006127/1.981, allocations: 4.949 MB / 0.8682 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.981, allocations: 3.469 kB / 0.8682 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/1.996, allocations: 7.073 MB / 0.8751 GB, free: 109.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003337/2, allocations: 0.826 MB / 0.8759 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/2.001, allocations: 44.97 kB / 0.876 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/2.004, allocations: 163.2 kB / 0.8761 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/2.004, allocations: 141.3 kB / 0.8763 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/2.004, allocations: 70.14 kB / 0.8763 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006858/2.011, allocations: 3.074 MB / 0.8793 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/2.011, allocations: 0 / 0.8793 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0075/2.019, allocations: 1.292 MB / 0.8806 GB, free: 109.3 MB / 0.4948 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 () * 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.0006004/2.019, allocations: 193 kB / 0.8808 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009247/2.029, allocations: 6.361 MB / 0.887 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/2.029, allocations: 0 / 0.887 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/2.031, allocations: 2.183 MB / 0.8891 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/2.035, allocations: 0.5554 MB / 0.8897 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/2.058, allocations: 10.09 MB / 0.8995 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006336/2.064, allocations: 4.225 MB / 0.9037 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007745/2.072, allocations: 2.377 MB / 0.906 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/2.073, allocations: 325.3 kB / 0.9063 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.462e-06/2.073, allocations: 0 / 0.9063 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.09078/2.164, allocations: 44.84 MB / 0.9501 GB, free: 97.96 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)