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.00707/0.00707, allocations: 166.3 kB / 15.11 MB, free: 5.992 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.253/1.253, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001763/0.001763, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 16 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 38.76 MB / 312.9 MB, free: 38.8 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.3724, allocations: 92.07 MB / 405 MB, free: 14.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.3727, allocations: 87.95 kB / 405 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.414/0.7868, allocations: 110.3 MB / 0.5033 GB, free: 8.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7868, allocations: 4 kB / 0.5033 GB, free: 8.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000213/0.7871, allocations: 104 kB / 0.5034 GB, free: 8.555 MB / 314.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.01865/0.8057, allocations: 5.359 MB / 0.5086 GB, free: 3.121 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.8058, allocations: 8.031 kB / 0.5087 GB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/0.8315, allocations: 6.9 MB / 0.5154 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/0.8499, allocations: 6.781 MB / 0.522 GB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.8503, allocations: 394.2 kB / 0.5224 GB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/0.8527, allocations: 0.5114 MB / 0.5229 GB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03039/0.8831, allocations: 12.64 MB / 0.5352 GB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002232/0.8834, allocations: 59.45 kB / 0.5353 GB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009082/0.8843, allocations: 239.9 kB / 0.5355 GB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001398/0.8857, allocations: 1.044 MB / 0.5365 GB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2688/1.155, allocations: 10.52 MB / 0.5468 GB, free: 57.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06051/1.215, allocations: 50.09 MB / 0.5957 GB, free: 29.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.228, allocations: 4.797 MB / 0.6004 GB, free: 27.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/1.239, allocations: 7.061 MB / 0.6073 GB, free: 23.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/1.239, allocations: 54.84 kB / 0.6074 GB, free: 23.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=179): time 5.65e-06/1.239, allocations: 0 / 0.6074 GB, free: 23.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=224): time 0.06403/1.304, allocations: 20.31 MB / 0.6272 GB, free: 17.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/1.304, allocations: 208.6 kB / 0.6274 GB, free: 17.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/1.309, allocations: 3.919 MB / 0.6312 GB, free: 16.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004631/1.31, allocations: 57.14 kB / 0.6313 GB, free: 16.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.312, allocations: 3.556 MB / 0.6347 GB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009521/1.313, allocations: 0.8407 MB / 0.6356 GB, free: 12.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/1.313, allocations: 123.9 kB / 0.6357 GB, free: 12.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002887/1.314, allocations: 0.5708 MB / 0.6362 GB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/1.316, allocations: 2.166 MB / 0.6384 GB, free: 10.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/1.321, allocations: 5.887 MB / 0.6441 GB, free: 3.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/1.325, allocations: 3.515 MB / 0.6475 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.081e-05/1.325, allocations: 40 kB / 0.6476 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.02508/1.35, allocations: 9.084 MB / 0.6565 GB, free: 9.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.35, allocations: 61 kB / 0.6565 GB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.35, allocations: 132 kB / 0.6566 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/1.354, allocations: 1.042 MB / 0.6577 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/1.359, allocations: 1.413 MB / 0.659 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.369, allocations: 7.123 MB / 0.666 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/1.375, allocations: 328.9 kB / 0.6663 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009913/1.376, allocations: 379.2 kB / 0.6667 GB, free: 0.6094 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 () * Number of clocked 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.009185/1.385, allocations: 2.842 MB / 0.6694 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009868/1.386, allocations: 406.5 kB / 0.6698 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008308/1.395, allocations: 3.643 MB / 0.6734 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/1.395, allocations: 28 kB / 0.6734 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.395, allocations: 8.656 kB / 0.6734 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/1.395, allocations: 11.95 kB / 0.6734 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.417, allocations: 9.865 MB / 0.6831 GB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/1.417, allocations: 8 kB / 0.6831 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.418, allocations: 347.5 kB / 0.6834 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/1.421, allocations: 0.8083 MB / 0.6842 GB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/1.422, allocations: 48 kB / 0.6842 GB, free: 0 / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2497/1.671, allocations: 5.827 MB / 0.6899 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.671, allocations: 10.75 kB / 0.6899 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.682, allocations: 7.01 MB / 0.6968 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002603/1.685, allocations: 0.7106 MB / 0.6975 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/1.685, allocations: 40.16 kB / 0.6975 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.687, allocations: 101.5 kB / 0.6976 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000387/1.687, allocations: 147.7 kB / 0.6978 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.687, allocations: 62.78 kB / 0.6978 GB, free: 80.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004866/1.692, allocations: 2.758 MB / 0.7005 GB, free: 80.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.692, allocations: 2.375 kB / 0.7005 GB, free: 80.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006931/1.699, allocations: 1.175 MB / 0.7017 GB, free: 80.49 MB / 378.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 () * Number of clocked 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.0006164/1.7, allocations: 220.2 kB / 0.7019 GB, free: 80.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/1.71, allocations: 5.384 MB / 0.7071 GB, free: 80.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.71, allocations: 1.031 kB / 0.7071 GB, free: 80.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/1.713, allocations: 1.788 MB / 0.7089 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.716, allocations: 0.528 MB / 0.7094 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.739, allocations: 12.9 MB / 0.722 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/1.743, allocations: 3.974 MB / 0.7259 GB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005062/1.748, allocations: 1.935 MB / 0.7278 GB, free: 74.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000749/1.749, allocations: 279.4 kB / 0.728 GB, free: 74.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.001e-06/1.749, allocations: 0 / 0.728 GB, free: 74.09 MB / 378.7 MB Notification: Performance of Templates: time 0.08012/1.829, allocations: 41.36 MB / 0.7684 GB, free: 56.2 MB / 378.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)