Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+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.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.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7879/0.7879, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001677/0.001677, allocations: 143.5 kB / 149.1 MB, free: 0.9648 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.059e-05, allocations: 8 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0488/0.04885, allocations: 25.17 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.2381, allocations: 55.83 MB / 261.2 MB, free: 15.51 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.2384, allocations: 77.86 kB / 261.3 MB, free: 15.5 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8768/1.115, allocations: 198 MB / 459.3 MB, free: 24.8 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.115, allocations: 3.938 kB / 459.3 MB, free: 24.79 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004118/1.116, allocations: 125.6 kB / 459.5 MB, free: 24.79 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.03197/1.148, allocations: 8.135 MB / 467.6 MB, free: 22.2 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.148, allocations: 7.156 kB / 467.6 MB, free: 22.2 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1176/1.265, allocations: 25.93 MB / 493.5 MB, free: 15.01 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02411/1.29, allocations: 8.557 MB / 0.4903 GB, free: 8.824 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006694/1.29, allocations: 500 kB / 0.4908 GB, free: 8.551 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006465/1.297, allocations: 0.6427 MB / 0.4914 GB, free: 8.125 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05953/1.356, allocations: 20.58 MB / 0.5115 GB, free: 3.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005398/1.357, allocations: 48.52 kB / 0.5116 GB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005549/1.362, allocations: 287.8 kB / 0.5118 GB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.234/1.596, allocations: 8.746 MB / 0.5204 GB, free: 36.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04108/1.638, allocations: 20.9 MB / 0.5408 GB, free: 36.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6146/2.252, allocations: 124.9 MB / 0.6628 GB, free: 29.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/2.267, allocations: 7.046 MB / 0.6696 GB, free: 28.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005562/2.273, allocations: 3.575 MB / 0.6731 GB, free: 28.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08427/2.357, allocations: 25.05 MB / 0.6976 GB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/2.357, allocations: 62.97 kB / 0.6977 GB, free: 8.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=282): time 8.225e-06/2.357, allocations: 0 / 0.6977 GB, free: 8.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=335): time 0.088/2.445, allocations: 24.93 MB / 0.722 GB, free: 0.8555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/2.446, allocations: 212.5 kB / 0.7222 GB, free: 0.6055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2002/2.646, allocations: 4.895 MB / 0.727 GB, free: 65.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001099/2.647, allocations: 70.36 kB / 0.727 GB, free: 65.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003167/2.65, allocations: 4.34 MB / 0.7313 GB, free: 63.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/2.652, allocations: 1.225 MB / 0.7325 GB, free: 62.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008711/2.653, allocations: 165.7 kB / 0.7326 GB, free: 62.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004492/2.654, allocations: 0.6566 MB / 0.7333 GB, free: 62.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006371/2.66, allocations: 4.061 MB / 0.7372 GB, free: 62.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008373/2.669, allocations: 8.748 MB / 0.7458 GB, free: 56.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008154/2.677, allocations: 5.147 MB / 0.7508 GB, free: 56.29 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/2.677, allocations: 47.31 kB / 0.7509 GB, free: 56.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02489/2.702, allocations: 12.59 MB / 0.7632 GB, free: 52.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003813/2.702, allocations: 76.91 kB / 0.7632 GB, free: 52.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004536/2.703, allocations: 164.5 kB / 0.7634 GB, free: 52.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/2.706, allocations: 1.095 MB / 0.7645 GB, free: 52.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007531/2.714, allocations: 1.974 MB / 0.7664 GB, free: 52.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/2.717, allocations: 2.185 MB / 0.7685 GB, free: 51.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0162/2.733, allocations: 1.936 MB / 0.7704 GB, free: 50.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002959/2.736, allocations: 0.6949 MB / 0.7711 GB, free: 50.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 751 * 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.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[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 (1011): * Single equations (assignments): 996 * Array equations: 14 * 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: 0 * Non-linear torn systems: 1 {1 40} Notification: Performance of prepare postOptimizeDAE: time 0.004093/2.74, allocations: 0.7231 MB / 0.7718 GB, free: 50.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002065/2.742, allocations: 493.1 kB / 0.7723 GB, free: 49.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/2.754, allocations: 5.063 MB / 0.7772 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01303/2.767, allocations: 2.868 MB / 0.78 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.893e-05/2.767, allocations: 0 / 0.78 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001584/2.767, allocations: 19.91 kB / 0.78 GB, free: 47.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07029/2.837, allocations: 22.69 MB / 0.8022 GB, free: 33.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/2.837, allocations: 11.75 kB / 0.8022 GB, free: 33.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002669/2.84, allocations: 0.5371 MB / 0.8027 GB, free: 33.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/2.843, allocations: 0.8193 MB / 0.8035 GB, free: 32.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008646/2.844, allocations: 143.8 kB / 0.8037 GB, free: 32.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/2.845, allocations: 1.707 MB / 0.8053 GB, free: 31.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/2.845, allocations: 11.94 kB / 0.8053 GB, free: 31.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/2.86, allocations: 12.3 MB / 0.8174 GB, free: 20.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003549/2.864, allocations: 1.311 MB / 0.8186 GB, free: 18.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/2.866, allocations: 50.48 kB / 0.8187 GB, free: 18.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01034/2.876, allocations: 1.609 MB / 0.8203 GB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009479/2.877, allocations: 178.8 kB / 0.8204 GB, free: 17.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001042/2.878, allocations: 281.2 kB / 0.8207 GB, free: 17.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.007943/2.886, allocations: 3.501 MB / 0.8241 GB, free: 14.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.61e-07/2.886, allocations: 336 / 0.8241 GB, free: 14.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.1856/3.072, allocations: 1.623 MB / 0.8257 GB, free: 58.05 MB / 282.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 (265): * Single equations (assignments): 250 * Array equations: 14 * 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: 0 * Non-linear torn systems: 1 {1 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/3.073, allocations: 255.6 kB / 0.8259 GB, free: 57.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01457/3.087, allocations: 9.206 MB / 0.8349 GB, free: 57.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/3.087, allocations: 0 / 0.8349 GB, free: 57.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/3.092, allocations: 3.31 MB / 0.8382 GB, free: 57.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/3.095, allocations: 0.5419 MB / 0.8387 GB, free: 57.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/3.124, allocations: 12.66 MB / 0.8511 GB, free: 55.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005338/3.129, allocations: 4.816 MB / 0.8558 GB, free: 54.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01005/3.139, allocations: 3.229 MB / 0.8589 GB, free: 54.59 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003078/3.142, allocations: 0.7052 MB / 0.8596 GB, free: 54.54 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/3.142, allocations: 4 kB / 0.8596 GB, free: 54.53 MB / 282.7 MB Notification: Performance of Templates: time 0.303/3.445, allocations: 77.12 MB / 0.9349 GB, free: 44.11 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)