Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009849/0.009849, allocations: 173.8 kB / 15.12 MB, free: 5.969 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.687/1.687, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.001752/0.001752, allocations: 124.5 kB / 255.6 MB, free: 10.16 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.1901/0.1901, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 10.12 kB / 406.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5113, allocations: 105.8 MB / 0.5536 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5116, allocations: 83.42 kB / 0.5537 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3355/0.8472, allocations: 135.7 MB / 0.6862 GB, free: 4.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8472, allocations: 0 / 0.6862 GB, free: 4.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004896/0.8477, allocations: 132 kB / 0.6863 GB, free: 3.945 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02337/0.8711, allocations: 7.655 MB / 0.6938 GB, free: 12.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8711, allocations: 8.031 kB / 0.6938 GB, free: 12.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03079/0.9019, allocations: 7.549 MB / 0.7011 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02579/0.9277, allocations: 9.836 MB / 0.7107 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005807/0.9284, allocations: 492.9 kB / 0.7112 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003277/0.9317, allocations: 0.6596 MB / 0.7119 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2668/1.198, allocations: 16.71 MB / 0.7282 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000557/1.199, allocations: 97.62 kB / 0.7283 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002228/1.201, allocations: 313 kB / 0.7286 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/1.204, allocations: 1.583 MB / 0.7301 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03206/1.236, allocations: 13.76 MB / 0.7436 GB, free: 81.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08389/1.32, allocations: 74.34 MB / 0.8162 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/1.34, allocations: 7.734 MB / 0.8237 GB, free: 51.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02441/1.364, allocations: 18.71 MB / 0.842 GB, free: 41.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/1.364, allocations: 68.39 kB / 0.842 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=286): time 5.801e-06/1.364, allocations: 0 / 0.842 GB, free: 41.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=367): time 0.1556/1.52, allocations: 50.49 MB / 0.8914 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.52, allocations: 277.7 kB / 0.8916 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.53, allocations: 5.38 MB / 0.8969 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001136/1.532, allocations: 81.7 kB / 0.897 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00509/1.537, allocations: 4.753 MB / 0.9016 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002408/1.539, allocations: 1.35 MB / 0.9029 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009517/1.54, allocations: 188 kB / 0.9031 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005724/1.541, allocations: 0.6936 MB / 0.9038 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/1.548, allocations: 3.805 MB / 0.9075 GB, free: 136 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2547/1.802, allocations: 10.09 MB / 0.9173 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/1.814, allocations: 5.681 MB / 0.9229 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002483/1.815, allocations: 52.09 kB / 0.9229 GB, free: 92.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04101/1.856, allocations: 16.7 MB / 0.9392 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.856, allocations: 89 kB / 0.9393 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/1.856, allocations: 180.4 kB / 0.9395 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01269/1.869, allocations: 4.145 MB / 0.9436 GB, free: 91.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007879/1.877, allocations: 2.035 MB / 0.9455 GB, free: 91.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0337/1.911, allocations: 22.9 MB / 0.9679 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008794/1.919, allocations: 0.5524 MB / 0.9684 GB, free: 88.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/1.922, allocations: 0.5289 MB / 0.969 GB, free: 88.61 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1083): * Single equations (assignments): 1078 * 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 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009601/1.932, allocations: 3.121 MB / 0.972 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002072/1.934, allocations: 0.5732 MB / 0.9726 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02451/1.958, allocations: 9.845 MB / 0.9822 GB, free: 84.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-05/1.958, allocations: 41.44 kB / 0.9822 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.185e-05/1.958, allocations: 18.34 kB / 0.9822 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/1.959, allocations: 24.59 kB / 0.9823 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04338/2.002, allocations: 19.25 MB / 1.001 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.583e-05/2.002, allocations: 3.938 kB / 1.001 GB, free: 78.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/2.005, allocations: 0.5067 MB / 1.002 GB, free: 78.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01175/2.017, allocations: 3.614 MB / 1.005 GB, free: 77.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008376/2.018, allocations: 65.91 kB / 1.005 GB, free: 77.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02864/2.046, allocations: 19.8 MB / 1.024 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/2.046, allocations: 4 kB / 1.024 GB, free: 66.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02794/2.074, allocations: 14.35 MB / 1.039 GB, free: 54.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004188/2.078, allocations: 1.122 MB / 1.04 GB, free: 53.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/2.08, allocations: 56 kB / 1.04 GB, free: 53.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003638/2.084, allocations: 232.4 kB / 1.04 GB, free: 53.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008769/2.085, allocations: 228 kB / 1.04 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004472/2.085, allocations: 93.34 kB / 1.04 GB, free: 52.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007145/2.092, allocations: 3.787 MB / 1.044 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.2e-07/2.092, allocations: 0 / 1.044 GB, free: 49.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0105/2.103, allocations: 1.845 MB / 1.046 GB, free: 47.93 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * 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 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009423/2.104, allocations: 227.7 kB / 1.046 GB, free: 47.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01465/2.118, allocations: 9.717 MB / 1.055 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/2.118, allocations: 3.828 kB / 1.055 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005599/2.124, allocations: 3.79 MB / 1.059 GB, free: 35.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/2.129, allocations: 0.7228 MB / 1.06 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/2.161, allocations: 18.39 MB / 1.078 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008146/2.17, allocations: 5.01 MB / 1.083 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008566/2.178, allocations: 2.804 MB / 1.085 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/2.18, allocations: 383.4 kB / 1.086 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/2.18, allocations: 4 kB / 1.086 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.3338/2.514, allocations: 75.6 MB / 1.16 GB, free: 78.97 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)