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.6717/0.6717, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001599/0.001599, allocations: 143.4 kB / 151.8 MB, free: 4.969 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002473, allocations: 8 kB / 184.9 MB, free: 3.887 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 25.15 MB / 210.1 MB, free: 29.71 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07025/0.2207, allocations: 55.93 MB / 266 MB, free: 9.828 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.221, allocations: 83.94 kB / 266.1 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.727/0.948, allocations: 198.2 MB / 464.2 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9481, allocations: 0 / 464.2 MB, free: 9.742 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002876/0.9484, allocations: 132 kB / 464.4 MB, free: 9.613 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.02826/0.9766, allocations: 8.594 MB / 472.9 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9767, allocations: 8.031 kB / 473 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2857/1.262, allocations: 25.97 MB / 498.9 MB, free: 28.97 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02485/1.287, allocations: 8.575 MB / 0.4956 GB, free: 28.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005206/1.288, allocations: 0.4939 MB / 0.4961 GB, free: 28.64 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004435/1.292, allocations: 0.6363 MB / 0.4967 GB, free: 28.64 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08297/1.375, allocations: 29.94 MB / 0.526 GB, free: 26.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002476/1.376, allocations: 52.14 kB / 0.526 GB, free: 26.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002324/1.378, allocations: 286.6 kB / 0.5263 GB, free: 26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03509/1.413, allocations: 8.76 MB / 0.5348 GB, free: 25.54 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07941/1.492, allocations: 31.19 MB / 0.5653 GB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5467/2.039, allocations: 124.9 MB / 0.6872 GB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1681/2.207, allocations: 10.79 MB / 0.6978 GB, free: 55.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08433/2.292, allocations: 25.06 MB / 0.7222 GB, free: 52.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/2.292, allocations: 64.31 kB / 0.7223 GB, free: 52.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=282): time 7.605e-06/2.292, allocations: 0 / 0.7223 GB, free: 52.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=335): time 0.1378/2.43, allocations: 42.18 MB / 0.7635 GB, free: 44.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/2.43, allocations: 217.2 kB / 0.7637 GB, free: 44.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008275/2.438, allocations: 4.961 MB / 0.7686 GB, free: 39.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001074/2.439, allocations: 73.67 kB / 0.7686 GB, free: 39.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/2.442, allocations: 4.34 MB / 0.7729 GB, free: 35.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001727/2.443, allocations: 1.227 MB / 0.7741 GB, free: 34.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008598/2.444, allocations: 166.5 kB / 0.7742 GB, free: 34.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003756/2.445, allocations: 0.6575 MB / 0.7749 GB, free: 33.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02093/2.466, allocations: 7.574 MB / 0.7823 GB, free: 25.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02306/2.489, allocations: 12.26 MB / 0.7942 GB, free: 11.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1512/2.64, allocations: 8.052 MB / 0.8021 GB, free: 46.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001367/2.64, allocations: 46.72 kB / 0.8021 GB, free: 46.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.05439/2.695, allocations: 19.08 MB / 0.8208 GB, free: 46.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/2.695, allocations: 80.56 kB / 0.8208 GB, free: 46.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002297/2.695, allocations: 164.1 kB / 0.821 GB, free: 46.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003288/2.698, allocations: 1.098 MB / 0.8221 GB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007097/2.705, allocations: 1.976 MB / 0.824 GB, free: 45.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/2.708, allocations: 2.2 MB / 0.8261 GB, free: 45.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/2.723, allocations: 1.94 MB / 0.828 GB, free: 45.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002576/2.726, allocations: 0.6922 MB / 0.8287 GB, free: 45.33 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 () * Number of clocked 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.008116/2.734, allocations: 3.061 MB / 0.8317 GB, free: 45.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/2.736, allocations: 499.1 kB / 0.8322 GB, free: 45.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/2.754, allocations: 6.831 MB / 0.8389 GB, free: 44.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01273/2.767, allocations: 2.873 MB / 0.8417 GB, free: 44.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/2.767, allocations: 3.5 kB / 0.8417 GB, free: 44.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-05/2.767, allocations: 18.38 kB / 0.8417 GB, free: 44.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07326/2.84, allocations: 24.45 MB / 0.8656 GB, free: 35.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/2.841, allocations: 8 kB / 0.8656 GB, free: 35.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/2.843, allocations: 0.54 MB / 0.8661 GB, free: 34.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002819/2.846, allocations: 0.827 MB / 0.8669 GB, free: 34.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009671/2.847, allocations: 144.7 kB / 0.867 GB, free: 34.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/2.849, allocations: 1.722 MB / 0.8687 GB, free: 32.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/2.849, allocations: 8 kB / 0.8687 GB, free: 32.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05759/2.906, allocations: 22.12 MB / 0.8903 GB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004155/2.91, allocations: 1.308 MB / 0.8916 GB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/2.912, allocations: 56.84 kB / 0.8917 GB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009181/2.921, allocations: 1.607 MB / 0.8932 GB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.13/3.051, allocations: 178.7 kB / 0.8934 GB, free: 46.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007/3.052, allocations: 278.3 kB / 0.8937 GB, free: 46.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006269/3.058, allocations: 3.498 MB / 0.8971 GB, free: 46.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.058, allocations: 0 / 0.8971 GB, free: 46.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00891/3.067, allocations: 1.576 MB / 0.8986 GB, free: 46.63 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 () * Number of clocked 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.0008961/3.068, allocations: 255.9 kB / 0.8989 GB, free: 46.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.04625/3.115, allocations: 16.17 MB / 0.9147 GB, free: 46.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/3.115, allocations: 3.062 kB / 0.9147 GB, free: 46.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02049/3.135, allocations: 6.771 MB / 0.9213 GB, free: 46.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00399/3.139, allocations: 0.5426 MB / 0.9218 GB, free: 46.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04199/3.181, allocations: 20.95 MB / 0.9423 GB, free: 40.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006348/3.188, allocations: 4.818 MB / 0.947 GB, free: 39.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01022/3.198, allocations: 3.228 MB / 0.9501 GB, free: 38.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003491/3.201, allocations: 0.7082 MB / 0.9508 GB, free: 38.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.093e-06/3.201, allocations: 0 / 0.9508 GB, free: 38.91 MB / 282.7 MB Notification: Performance of Templates: time 0.2393/3.441, allocations: 77.13 MB / 1.026 GB, free: 39.35 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)