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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001137/0.001137, allocations: 190.3 kB / 8.136 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.09/1.09, allocations: 194.2 MB / 202.8 MB, free: 8.758 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.001828/0.001828, allocations: 122.5 kB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.546e-06, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07222/0.07224, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.2799, allocations: 96.96 MB / 439 MB, free: 14.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.2802, allocations: 92.73 kB / 439.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4183/0.6985, allocations: 106.5 MB / 0.5329 GB, free: 59.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002231/0.6987, allocations: 103.1 kB / 0.533 GB, free: 59.87 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.01123/0.71, allocations: 4.892 MB / 0.5377 GB, free: 57.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.71, allocations: 11.81 kB / 0.5377 GB, free: 57.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02607/0.7361, allocations: 6.493 MB / 0.5441 GB, free: 57.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/0.7524, allocations: 6.828 MB / 0.5507 GB, free: 56.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.7527, allocations: 170.7 kB / 0.5509 GB, free: 56.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.7544, allocations: 309.9 kB / 0.5512 GB, free: 56.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01108/0.7655, allocations: 7.723 MB / 0.5588 GB, free: 56.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.7834, allocations: 10.85 MB / 0.5693 GB, free: 53.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002011/0.7836, allocations: 62.16 kB / 0.5694 GB, free: 53.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006817/0.7843, allocations: 28.19 kB / 0.5694 GB, free: 53.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.7859, allocations: 1.124 MB / 0.5705 GB, free: 53.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04959/0.8355, allocations: 49.41 MB / 0.6188 GB, free: 18.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.8393, allocations: 3.051 MB / 0.6218 GB, free: 16.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.8414, allocations: 1.99 MB / 0.6237 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.8518, allocations: 7.829 MB / 0.6313 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.8518, allocations: 58.06 kB / 0.6314 GB, free: 11.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 4.087e-06/0.8518, allocations: 0 / 0.6314 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=227): time 0.04318/0.895, allocations: 15.9 MB / 0.6469 GB, free: 14.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.8951, allocations: 201.9 kB / 0.6471 GB, free: 13.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005091/0.9002, allocations: 3.506 MB / 0.6505 GB, free: 10.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.9005, allocations: 25.7 kB / 0.6506 GB, free: 10.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.9025, allocations: 3.273 MB / 0.6538 GB, free: 7.691 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008112/0.9034, allocations: 0.821 MB / 0.6546 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.9036, allocations: 4 kB / 0.6546 GB, free: 6.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000382/0.904, allocations: 0.5791 MB / 0.6551 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.9071, allocations: 2.102 MB / 0.6572 GB, free: 4.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1094/1.016, allocations: 5.931 MB / 0.663 GB, free: 119.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/1.021, allocations: 3.558 MB / 0.6665 GB, free: 119.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.95e-05/1.021, allocations: 46.28 kB / 0.6665 GB, free: 119.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01355/1.035, allocations: 8.022 MB / 0.6743 GB, free: 118.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.035, allocations: 7.156 kB / 0.6743 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/1.035, allocations: 138.7 kB / 0.6745 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/1.038, allocations: 1.014 MB / 0.6755 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/1.043, allocations: 1.454 MB / 0.6769 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/1.051, allocations: 6.254 MB / 0.683 GB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0047/1.056, allocations: 188.1 kB / 0.6832 GB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007566/1.056, allocations: 393 kB / 0.6835 GB, free: 117.4 MB / 410.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 (795): * Single equations (assignments): 791 * 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.0008959/1.057, allocations: 450.5 kB / 0.684 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008217/1.058, allocations: 387.1 kB / 0.6843 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006889/1.065, allocations: 3.503 MB / 0.6878 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/1.065, allocations: 26.25 kB / 0.6878 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.065, allocations: 6.875 kB / 0.6878 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/1.065, allocations: 12.14 kB / 0.6878 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.081, allocations: 8.722 MB / 0.6963 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.081, allocations: 3.906 kB / 0.6963 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.083, allocations: 338.9 kB / 0.6966 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003029/1.086, allocations: 0.783 MB / 0.6974 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/1.086, allocations: 14.5 kB / 0.6974 GB, free: 116.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006668/1.093, allocations: 5.073 MB / 0.7024 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.093, allocations: 12.53 kB / 0.7024 GB, free: 113.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009274/1.102, allocations: 6.98 MB / 0.7092 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.104, allocations: 0.6804 MB / 0.7099 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/1.104, allocations: 14.33 kB / 0.7099 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.106, allocations: 48.89 kB / 0.7099 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/1.106, allocations: 121.6 kB / 0.7101 GB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.107, allocations: 63.5 kB / 0.7101 GB, free: 109.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003241/1.11, allocations: 2.381 MB / 0.7124 GB, free: 109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005412/1.115, allocations: 1.004 MB / 0.7134 GB, free: 109 MB / 410.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 (179): * Single equations (assignments): 175 * 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.0004891/1.116, allocations: 190.3 kB / 0.7136 GB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006776/1.122, allocations: 5.105 MB / 0.7186 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.122, allocations: 0 / 0.7186 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/1.124, allocations: 1.678 MB / 0.7202 GB, free: 106.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/1.127, allocations: 440 kB / 0.7206 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.143, allocations: 9.073 MB / 0.7295 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/1.148, allocations: 4.269 MB / 0.7337 GB, free: 101.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/1.148, allocations: 0 / 0.7337 GB, free: 101.5 MB / 410.7 MB Notification: Performance of Templates: time 0.07438/1.223, allocations: 42.32 MB / 0.775 GB, free: 75.89 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)