Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.9 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.249/1.249, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001587/0.001587, allocations: 108.2 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08612, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2561/0.3422, allocations: 97.79 MB / 452.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3425, allocations: 95.34 kB / 452.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4037/0.7462, allocations: 110.3 MB / 0.5501 GB, free: 83.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7462, allocations: 0 / 0.5501 GB, free: 83.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001905/0.7464, allocations: 100.4 kB / 0.5502 GB, free: 83.43 MB / 394.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.01059/0.757, allocations: 5.359 MB / 0.5554 GB, free: 81.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.7571, allocations: 9.625 kB / 0.5554 GB, free: 81.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/0.7801, allocations: 6.899 MB / 0.5621 GB, free: 80.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.7964, allocations: 6.783 MB / 0.5688 GB, free: 80.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.7967, allocations: 388.5 kB / 0.5691 GB, free: 80 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.7984, allocations: 0.5155 MB / 0.5696 GB, free: 79.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.8204, allocations: 12.63 MB / 0.582 GB, free: 73.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.8206, allocations: 55.66 kB / 0.582 GB, free: 73.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005681/0.8211, allocations: 248.6 kB / 0.5823 GB, free: 73.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001036/0.8222, allocations: 1.046 MB / 0.5833 GB, free: 73.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.8412, allocations: 10.52 MB / 0.5936 GB, free: 67.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04497/0.8862, allocations: 50.09 MB / 0.6425 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.8973, allocations: 4.808 MB / 0.6472 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009985/0.9073, allocations: 7.05 MB / 0.6541 GB, free: 3.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.9074, allocations: 51.5 kB / 0.6541 GB, free: 3.434 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 5.149e-06/0.9074, allocations: 0 / 0.6541 GB, free: 3.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=224): time 0.2355/1.143, allocations: 20.3 MB / 0.6739 GB, free: 93.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/1.143, allocations: 201.7 kB / 0.6741 GB, free: 93.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005036/1.148, allocations: 3.913 MB / 0.678 GB, free: 92.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.148, allocations: 59.48 kB / 0.678 GB, free: 92.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/1.15, allocations: 3.556 MB / 0.6815 GB, free: 91.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005275/1.15, allocations: 0.8419 MB / 0.6823 GB, free: 91.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/1.151, allocations: 128.2 kB / 0.6824 GB, free: 91.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002341/1.151, allocations: 0.5759 MB / 0.683 GB, free: 91.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/1.154, allocations: 2.158 MB / 0.6851 GB, free: 91.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.158, allocations: 5.887 MB / 0.6908 GB, free: 86.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004982/1.163, allocations: 3.516 MB / 0.6943 GB, free: 86.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.872e-05/1.163, allocations: 42.47 kB / 0.6943 GB, free: 86.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=832) (initialization): time 0.01665/1.18, allocations: 8.758 MB / 0.7029 GB, free: 84.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/1.18, allocations: 59.97 kB / 0.7029 GB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.18, allocations: 131.7 kB / 0.7031 GB, free: 84.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/1.183, allocations: 1.035 MB / 0.7041 GB, free: 84.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/1.187, allocations: 1.421 MB / 0.7055 GB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007954/1.195, allocations: 7.119 MB / 0.7124 GB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/1.199, allocations: 334.6 kB / 0.7127 GB, free: 80.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/1.2, allocations: 385.3 kB / 0.7131 GB, free: 80.58 MB / 410.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.003498/1.203, allocations: 2.486 MB / 0.7155 GB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005977/1.204, allocations: 408.8 kB / 0.7159 GB, free: 79.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00626/1.21, allocations: 3.648 MB / 0.7195 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/1.21, allocations: 23.16 kB / 0.7195 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.21, allocations: 7.906 kB / 0.7195 GB, free: 77.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/1.21, allocations: 14.88 kB / 0.7195 GB, free: 77.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.226, allocations: 9.87 MB / 0.7292 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.226, allocations: 6.25 kB / 0.7292 GB, free: 73.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.227, allocations: 352.4 kB / 0.7295 GB, free: 73.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/1.23, allocations: 0.7999 MB / 0.7303 GB, free: 73.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.23, allocations: 46 kB / 0.7303 GB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006584/1.236, allocations: 5.831 MB / 0.736 GB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.236, allocations: 7.312 kB / 0.736 GB, free: 70.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008535/1.245, allocations: 7.009 MB / 0.7429 GB, free: 66.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/1.247, allocations: 0.708 MB / 0.7436 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/1.247, allocations: 47.25 kB / 0.7436 GB, free: 66.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/1.248, allocations: 100.1 kB / 0.7437 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/1.249, allocations: 141.4 kB / 0.7438 GB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.249, allocations: 65.2 kB / 0.7439 GB, free: 66.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003289/1.252, allocations: 2.762 MB / 0.7466 GB, free: 65.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.12e-07/1.252, allocations: 0 / 0.7466 GB, free: 65.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004282/1.256, allocations: 1.179 MB / 0.7477 GB, free: 65.16 MB / 410.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.0004334/1.257, allocations: 221.8 kB / 0.748 GB, free: 65.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006776/1.264, allocations: 5.381 MB / 0.7532 GB, free: 62.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.264, allocations: 0 / 0.7532 GB, free: 62.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.266, allocations: 1.794 MB / 0.755 GB, free: 62.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/1.268, allocations: 0.515 MB / 0.7555 GB, free: 61.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.283, allocations: 12.9 MB / 0.7681 GB, free: 49.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/1.287, allocations: 3.969 MB / 0.7719 GB, free: 46.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004492/1.291, allocations: 1.938 MB / 0.7738 GB, free: 45.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006224/1.292, allocations: 276.5 kB / 0.7741 GB, free: 45.35 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/1.292, allocations: 3.938 kB / 0.7741 GB, free: 45.34 MB / 410.7 MB Notification: Performance of Templates: time 0.06268/1.355, allocations: 41.36 MB / 0.8145 GB, free: 8.703 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)