Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.81/0.81, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001877/0.001877, allocations: 163.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.822e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04717/0.04721, allocations: 25.19 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.2412, allocations: 47.66 MB / 246.7 MB, free: 19.4 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.2414, allocations: 76.25 kB / 246.8 MB, free: 19.4 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8357/1.077, allocations: 223.4 MB / 470.2 MB, free: 19.42 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.784e-06/1.077, allocations: 0 / 470.2 MB, free: 19.42 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003201/1.077, allocations: 154.4 kB / 470.3 MB, free: 19.42 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: 2674 * Number of variables: 2674 Notification: Performance of Generate backend data structure: time 0.03371/1.111, allocations: 10.38 MB / 480.7 MB, free: 16.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.111, allocations: 7.594 kB / 480.7 MB, free: 16.34 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1503/1.262, allocations: 32.66 MB / 0.5013 GB, free: 2.207 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03114/1.293, allocations: 10.68 MB / 0.5117 GB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007223/1.294, allocations: 251.6 kB / 0.512 GB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007345/1.301, allocations: 442.6 kB / 0.5124 GB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2245/1.525, allocations: 19.59 MB / 0.5315 GB, free: 31.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0478/1.573, allocations: 22.33 MB / 0.5534 GB, free: 28.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003583/1.574, allocations: 59.61 kB / 0.5534 GB, free: 28.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003015/1.577, allocations: 26.38 kB / 0.5534 GB, free: 28.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04654/1.623, allocations: 10.78 MB / 0.564 GB, free: 28.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7051/2.328, allocations: 151.9 MB / 0.7123 GB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/2.34, allocations: 10.15 MB / 0.7222 GB, free: 2.375 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1553/2.496, allocations: 7.267 MB / 0.7293 GB, free: 42.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/2.497, allocations: 0.6024 MB / 0.7299 GB, free: 42.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.954e-05/2.497, allocations: 89.08 kB / 0.73 GB, free: 42.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=518): time 1.568e-05/2.497, allocations: 0 / 0.73 GB, free: 42.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=782): time 0.2026/2.699, allocations: 91.94 MB / 0.8198 GB, free: 3.727 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1533/2.853, allocations: 496.8 kB / 0.8203 GB, free: 38.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008026/2.861, allocations: 4.936 MB / 0.8251 GB, free: 38.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002105/2.863, allocations: 28.27 kB / 0.8251 GB, free: 38.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002744/2.866, allocations: 4.933 MB / 0.8299 GB, free: 36.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003431/2.869, allocations: 2.617 MB / 0.8325 GB, free: 34.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/2.871, allocations: 1.219 kB / 0.8325 GB, free: 34.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0006373/2.871, allocations: 0.8327 MB / 0.8333 GB, free: 34.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01274/2.884, allocations: 10.88 MB / 0.8439 GB, free: 34.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01576/2.9, allocations: 16.02 MB / 0.8596 GB, free: 25.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/2.915, allocations: 12.51 MB / 0.8718 GB, free: 20.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/2.915, allocations: 49.34 kB / 0.8718 GB, free: 20.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=1612) (initialization): time 0.09058/3.006, allocations: 44.3 MB / 0.9151 GB, free: 15.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/3.006, allocations: 82.95 kB / 0.9152 GB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004663/3.006, allocations: 287.5 kB / 0.9154 GB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2573/3.264, allocations: 21.45 MB / 0.9364 GB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01368/3.277, allocations: 2.191 MB / 0.9385 GB, free: 42.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4204/3.698, allocations: 137 MB / 1.072 GB, free: 26.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02191/3.72, allocations: 2.417 MB / 1.075 GB, free: 26.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003971/3.724, allocations: 0.9197 MB / 1.076 GB, free: 26.58 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b2.frame_b.R.T[3,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1117): * Single equations (assignments): 1093 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.005726/3.73, allocations: 0.5606 MB / 1.076 GB, free: 26.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002873/3.732, allocations: 0.6438 MB / 1.077 GB, free: 26.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07499/3.807, allocations: 37.98 MB / 1.114 GB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2565/4.064, allocations: 38.61 MB / 1.152 GB, free: 39.69 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001396/4.064, allocations: 65.31 kB / 1.152 GB, free: 39.69 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002207/4.064, allocations: 43.12 kB / 1.152 GB, free: 39.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3299/4.394, allocations: 73.15 MB / 1.223 GB, free: 33.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.279e-05/4.394, allocations: 9 kB / 1.223 GB, free: 33.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/4.398, allocations: 0.5698 MB / 1.224 GB, free: 33.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06377/4.461, allocations: 20.29 MB / 1.243 GB, free: 32.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002835/4.464, allocations: 123.9 kB / 1.244 GB, free: 32.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3354/4.8, allocations: 123.9 MB / 1.365 GB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/4.8, allocations: 13.53 kB / 1.365 GB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09367/4.893, allocations: 56.03 MB / 1.419 GB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00928/4.903, allocations: 3.045 MB / 1.422 GB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00376/4.907, allocations: 15.8 kB / 1.422 GB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01649/4.923, allocations: 2.107 MB / 1.424 GB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003862/4.927, allocations: 0.6167 MB / 1.425 GB, free: 400 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002125/4.929, allocations: 409.9 kB / 1.425 GB, free: 40 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006906/4.936, allocations: 3.405 MB / 1.429 GB, free: 13.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/4.936, allocations: 0 / 1.429 GB, free: 13.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.189/5.125, allocations: 3.556 MB / 1.432 GB, free: 57.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (300): * Single equations (assignments): 280 * Array equations: 16 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,38.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.002578/5.128, allocations: 164 kB / 1.432 GB, free: 57.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.04226/5.17, allocations: 28.74 MB / 1.46 GB, free: 56.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/5.17, allocations: 5.875 kB / 1.46 GB, free: 56.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02883/5.199, allocations: 15.36 MB / 1.475 GB, free: 51.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00783/5.207, allocations: 0.605 MB / 1.476 GB, free: 51.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04503/5.252, allocations: 25.57 MB / 1.501 GB, free: 39.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008338/5.26, allocations: 6.337 MB / 1.507 GB, free: 34.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01284/5.273, allocations: 3.698 MB / 1.511 GB, free: 31.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003946/5.277, allocations: 0.7874 MB / 1.512 GB, free: 31.3 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/5.277, allocations: 4 kB / 1.512 GB, free: 31.3 MB / 298.7 MB Notification: Performance of Templates: time 0.8036/6.081, allocations: 252.9 MB / 1.758 GB, free: 65.21 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)