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.0009901/0.0009902, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.316/1.316, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001528/0.001528, allocations: 102 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.709e-05/1.712e-05, allocations: 0 / 262.2 MB, free: 3.07 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 38.77 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3407, allocations: 91.3 MB / 392.3 MB, free: 4.312 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.3409, allocations: 93.2 kB / 392.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4324/0.7733, allocations: 108 MB / 0.4886 GB, free: 50.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.829e-06/0.7734, allocations: 0 / 0.4886 GB, free: 50.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005334/0.7739, allocations: 100 kB / 0.4887 GB, free: 50.49 MB / 330.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.01699/0.7909, allocations: 4.911 MB / 0.4935 GB, free: 45.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.791, allocations: 8.031 kB / 0.4935 GB, free: 45.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02648/0.8175, allocations: 6.904 MB / 0.5003 GB, free: 38.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/0.8353, allocations: 6.741 MB / 0.5069 GB, free: 31.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004114/0.8358, allocations: 172 kB / 0.507 GB, free: 31.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002968/0.8388, allocations: 319.7 kB / 0.5073 GB, free: 31.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01528/0.8541, allocations: 7.479 MB / 0.5146 GB, free: 23.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/0.876, allocations: 10.63 MB / 0.525 GB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003274/0.8764, allocations: 63.36 kB / 0.5251 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001907/0.8783, allocations: 28 kB / 0.5251 GB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001417/0.8797, allocations: 1.051 MB / 0.5261 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2768/1.157, allocations: 48.35 MB / 0.5734 GB, free: 42.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/1.16, allocations: 3.15 MB / 0.5764 GB, free: 41.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/1.163, allocations: 1.789 MB / 0.5782 GB, free: 41.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.164, allocations: 1.207 MB / 0.5794 GB, free: 40.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/1.164, allocations: 55.16 kB / 0.5794 GB, free: 40.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=185): time 3.657e-06/1.164, allocations: 0 / 0.5794 GB, free: 40.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=233): time 0.04312/1.207, allocations: 16.16 MB / 0.5952 GB, free: 37.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/1.207, allocations: 204.4 kB / 0.5954 GB, free: 37.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00617/1.213, allocations: 3.464 MB / 0.5988 GB, free: 37.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004794/1.214, allocations: 25.7 kB / 0.5988 GB, free: 37.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002595/1.216, allocations: 3.604 MB / 0.6023 GB, free: 35.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009182/1.217, allocations: 0.8474 MB / 0.6031 GB, free: 34.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/1.218, allocations: 0 / 0.6031 GB, free: 34.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003049/1.218, allocations: 0.5809 MB / 0.6037 GB, free: 34.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/1.22, allocations: 2.047 MB / 0.6057 GB, free: 33.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/1.224, allocations: 5.886 MB / 0.6115 GB, free: 27.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/1.229, allocations: 3.478 MB / 0.6148 GB, free: 26.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.799e-05/1.229, allocations: 37.09 kB / 0.6149 GB, free: 26.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01306/1.242, allocations: 7.998 MB / 0.6227 GB, free: 24.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/1.242, allocations: 64.88 kB / 0.6228 GB, free: 24.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/1.242, allocations: 135.9 kB / 0.6229 GB, free: 24.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00283/1.245, allocations: 1.021 MB / 0.6239 GB, free: 24.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/1.249, allocations: 1.473 MB / 0.6253 GB, free: 23.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008099/1.257, allocations: 6.515 MB / 0.6317 GB, free: 19.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00574/1.263, allocations: 211.8 kB / 0.6319 GB, free: 19.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/1.265, allocations: 397.3 kB / 0.6323 GB, free: 19.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * 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 (801): * Single equations (assignments): 797 * 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.002224/1.267, allocations: 466 kB / 0.6327 GB, free: 18.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.268, allocations: 383 kB / 0.6331 GB, free: 18.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00806/1.276, allocations: 3.431 MB / 0.6364 GB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/1.277, allocations: 24 kB / 0.6364 GB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.327e-05/1.277, allocations: 15.7 kB / 0.6365 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/1.277, allocations: 6.891 kB / 0.6365 GB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/1.298, allocations: 8.949 MB / 0.6452 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-05/1.298, allocations: 8 kB / 0.6452 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.299, allocations: 367.4 kB / 0.6456 GB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/1.302, allocations: 0.7935 MB / 0.6463 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003066/1.302, allocations: 12 kB / 0.6464 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006496/1.309, allocations: 5.239 MB / 0.6515 GB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.309, allocations: 7.938 kB / 0.6515 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/1.32, allocations: 6.901 MB / 0.6582 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/1.322, allocations: 0.691 MB / 0.6589 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/1.324, allocations: 10.81 kB / 0.6589 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/1.326, allocations: 64.5 kB / 0.659 GB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/1.327, allocations: 148.1 kB / 0.6591 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.327, allocations: 71.19 kB / 0.6592 GB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006473/1.333, allocations: 2.339 MB / 0.6615 GB, free: 9.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.333, allocations: 0 / 0.6615 GB, free: 9.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008836/1.342, allocations: 1.018 MB / 0.6624 GB, free: 8.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (185): * Single equations (assignments): 181 * 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.001013/1.343, allocations: 190.3 kB / 0.6626 GB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0106/1.354, allocations: 5.081 MB / 0.6676 GB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.952e-05/1.354, allocations: 1.688 kB / 0.6676 GB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003592/1.358, allocations: 1.721 MB / 0.6693 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/1.361, allocations: 450.1 kB / 0.6697 GB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.388, allocations: 9.028 MB / 0.6785 GB, free: 9.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007125/1.395, allocations: 3.98 MB / 0.6824 GB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005966/1.401, allocations: 2.023 MB / 0.6844 GB, free: 5.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.402, allocations: 264.6 kB / 0.6846 GB, free: 5.145 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/1.402, allocations: 0 / 0.6846 GB, free: 5.145 MB / 378.7 MB Notification: Performance of Templates: time 0.291/1.693, allocations: 37.34 MB / 0.7211 GB, free: 89.7 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)