Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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) 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001114/0.001114, allocations: 169.8 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.312/1.312, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001585/0.001586, allocations: 110.7 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.639e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07362/0.07366, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/0.3859, allocations: 91.97 MB / 399.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.3862, allocations: 83.2 kB / 399.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4906/0.8768, allocations: 110.4 MB / 0.4982 GB, free: 72.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.8768, allocations: 0 / 0.4982 GB, free: 72.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002307/0.8771, allocations: 104.6 kB / 0.4983 GB, free: 72.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1738 * Number of variables: 1738 Notification: Performance of Generate backend data structure: time 0.01481/0.8919, allocations: 4.922 MB / 0.5031 GB, free: 70.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.892, allocations: 7.5 kB / 0.5031 GB, free: 70.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02565/0.9176, allocations: 6.901 MB / 0.5098 GB, free: 70.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/0.9347, allocations: 6.762 MB / 0.5164 GB, free: 68.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.9351, allocations: 387.2 kB / 0.5168 GB, free: 68.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.9371, allocations: 0.5163 MB / 0.5173 GB, free: 68.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/0.9632, allocations: 12.53 MB / 0.5295 GB, free: 56.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002043/0.9635, allocations: 59.47 kB / 0.5296 GB, free: 56.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007008/0.9642, allocations: 247 kB / 0.5298 GB, free: 56.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001166/0.9653, allocations: 1.043 MB / 0.5308 GB, free: 55.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.9864, allocations: 10.37 MB / 0.541 GB, free: 44.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0602/1.047, allocations: 50.1 MB / 0.5899 GB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/1.061, allocations: 4.764 MB / 0.5946 GB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00333/1.064, allocations: 1.885 MB / 0.5964 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2461/1.311, allocations: 7.043 MB / 0.6033 GB, free: 83.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/1.311, allocations: 51.17 kB / 0.6033 GB, free: 83.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=179): time 6.583e-06/1.311, allocations: 1.406 kB / 0.6033 GB, free: 83.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=224): time 0.05812/1.369, allocations: 17.11 MB / 0.62 GB, free: 80.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.86e-05/1.369, allocations: 202.9 kB / 0.6202 GB, free: 80.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006437/1.375, allocations: 3.874 MB / 0.624 GB, free: 80.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004933/1.376, allocations: 58.67 kB / 0.6241 GB, free: 80.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002547/1.378, allocations: 3.559 MB / 0.6275 GB, free: 78.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/1.38, allocations: 0.8394 MB / 0.6284 GB, free: 77.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/1.38, allocations: 125.5 kB / 0.6285 GB, free: 77.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003432/1.38, allocations: 0.5728 MB / 0.629 GB, free: 77.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/1.384, allocations: 2.109 MB / 0.6311 GB, free: 77.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004861/1.388, allocations: 5.84 MB / 0.6368 GB, free: 72.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005639/1.394, allocations: 3.508 MB / 0.6402 GB, free: 71.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.394, allocations: 40.41 kB / 0.6403 GB, free: 71.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01602/1.41, allocations: 8.659 MB / 0.6487 GB, free: 68.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.41, allocations: 61.84 kB / 0.6488 GB, free: 68.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/1.411, allocations: 127.9 kB / 0.6489 GB, free: 68.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/1.414, allocations: 1.031 MB / 0.6499 GB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.418, allocations: 1.418 MB / 0.6513 GB, free: 67.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00888/1.427, allocations: 6.859 MB / 0.658 GB, free: 64.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005847/1.433, allocations: 332.2 kB / 0.6583 GB, free: 64.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.435, allocations: 384.4 kB / 0.6587 GB, free: 64.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 43 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 764 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002204/1.437, allocations: 0.6002 MB / 0.6593 GB, free: 63.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/1.438, allocations: 400.3 kB / 0.6596 GB, free: 63.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007098/1.445, allocations: 3.608 MB / 0.6632 GB, free: 61.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.254e-05/1.445, allocations: 32.81 kB / 0.6632 GB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.445, allocations: 4 kB / 0.6632 GB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/1.445, allocations: 14.39 kB / 0.6632 GB, free: 61.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/1.462, allocations: 9.815 MB / 0.6728 GB, free: 53.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.462, allocations: 12.12 kB / 0.6728 GB, free: 53.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.464, allocations: 349.5 kB / 0.6731 GB, free: 53.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00258/1.466, allocations: 0.7935 MB / 0.6739 GB, free: 52.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/1.467, allocations: 47.7 kB / 0.674 GB, free: 52.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006573/1.473, allocations: 5.579 MB / 0.6794 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.473, allocations: 10.61 kB / 0.6794 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009489/1.483, allocations: 6.944 MB / 0.6862 GB, free: 41.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/1.485, allocations: 0.7066 MB / 0.6869 GB, free: 40.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005373/1.486, allocations: 42.97 kB / 0.6869 GB, free: 40.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.487, allocations: 97.48 kB / 0.687 GB, free: 40.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/1.488, allocations: 151.2 kB / 0.6872 GB, free: 40.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/1.488, allocations: 63.23 kB / 0.6872 GB, free: 40.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004123/1.492, allocations: 2.718 MB / 0.6899 GB, free: 37.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.492, allocations: 0 / 0.6899 GB, free: 37.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006224/1.498, allocations: 1.175 MB / 0.691 GB, free: 36.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 172 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005809/1.499, allocations: 220.8 kB / 0.6912 GB, free: 36.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007344/1.506, allocations: 5.302 MB / 0.6964 GB, free: 31.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.506, allocations: 0 / 0.6964 GB, free: 31.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.508, allocations: 1.77 MB / 0.6981 GB, free: 29.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/1.512, allocations: 0.5091 MB / 0.6986 GB, free: 29.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.529, allocations: 8.981 MB / 0.7074 GB, free: 21.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004008/1.533, allocations: 3.982 MB / 0.7113 GB, free: 18.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004855/1.538, allocations: 1.935 MB / 0.7132 GB, free: 16.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008199/1.539, allocations: 271.4 kB / 0.7135 GB, free: 16.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/1.539, allocations: 0 / 0.7135 GB, free: 16.7 MB / 362.7 MB Notification: Performance of Templates: time 0.3088/1.847, allocations: 41.36 MB / 0.7538 GB, free: 67.53 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)