Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [: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.1+maint.om/package.mo): time 0.006119/0.006119, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.591/1.591, allocations: 170.6 MB / 178.4 MB, free: 15.72 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.002066/0.002066, allocations: 95.94 kB / 217.7 MB, free: 8.512 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.438e-06, allocations: 0 / 261.7 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 38.77 MB / 300.5 MB, free: 3.93 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.4147, allocations: 87.66 MB / 388.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.415, allocations: 82.89 kB / 388.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.523/0.938, allocations: 122 MB / 0.4983 GB, free: 68.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005586/0.9387, allocations: 112.5 kB / 0.4984 GB, free: 68.77 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2237 * Number of variables: 2237 Notification: Performance of Generate backend data structure: time 0.02517/0.9638, allocations: 6.157 MB / 0.5044 GB, free: 66.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.9639, allocations: 11.05 kB / 0.5044 GB, free: 66.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03294/0.9969, allocations: 7.633 MB / 0.5118 GB, free: 65.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/1.022, allocations: 7.314 MB / 0.519 GB, free: 64.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000803/1.023, allocations: 191.7 kB / 0.5192 GB, free: 64.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004665/1.027, allocations: 354.8 kB / 0.5195 GB, free: 64.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02475/1.052, allocations: 10.38 MB / 0.5296 GB, free: 58.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03894/1.091, allocations: 14.32 MB / 0.5436 GB, free: 44.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000492/1.092, allocations: 67.41 kB / 0.5437 GB, free: 43.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004057/1.096, allocations: 32 kB / 0.5437 GB, free: 43.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/1.098, allocations: 1.723 MB / 0.5454 GB, free: 42.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2728/1.371, allocations: 62.35 MB / 0.6063 GB, free: 65.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006342/1.378, allocations: 4.61 MB / 0.6108 GB, free: 64.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004844/1.382, allocations: 3.559 MB / 0.6143 GB, free: 64.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0255/1.408, allocations: 15.42 MB / 0.6293 GB, free: 60.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/1.408, allocations: 62.56 kB / 0.6294 GB, free: 60.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=292): time 6.542e-06/1.408, allocations: 0 / 0.6294 GB, free: 60.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=342): time 0.07227/1.48, allocations: 29.1 MB / 0.6578 GB, free: 51.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/1.48, allocations: 213.5 kB / 0.658 GB, free: 50.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/1.488, allocations: 4.341 MB / 0.6622 GB, free: 48.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009354/1.489, allocations: 29.7 kB / 0.6623 GB, free: 48.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.491, allocations: 4.178 MB / 0.6664 GB, free: 44.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001933/1.493, allocations: 1.227 MB / 0.6676 GB, free: 43.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006023/1.494, allocations: 0 / 0.6676 GB, free: 43.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004993/1.494, allocations: 0.7009 MB / 0.6682 GB, free: 42.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00534/1.5, allocations: 4.516 MB / 0.6726 GB, free: 38.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007751/1.507, allocations: 9.711 MB / 0.6821 GB, free: 27.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.518, allocations: 6.574 MB / 0.6886 GB, free: 22.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002079/1.518, allocations: 59.88 kB / 0.6886 GB, free: 22.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04451/1.562, allocations: 17.64 MB / 0.7058 GB, free: 8.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.563, allocations: 8 kB / 0.7058 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000298/1.563, allocations: 184 kB / 0.706 GB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02182/1.585, allocations: 5.329 MB / 0.7112 GB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008837/1.594, allocations: 2.081 MB / 0.7133 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2215/1.815, allocations: 20.86 MB / 0.7336 GB, free: 85.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009552/1.825, allocations: 312.5 kB / 0.7339 GB, free: 85.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002298/1.827, allocations: 0.5297 MB / 0.7344 GB, free: 85.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 840 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1111): * Single equations (assignments): 1103 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002207/1.829, allocations: 0.5599 MB / 0.735 GB, free: 85.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/1.831, allocations: 481.1 kB / 0.7355 GB, free: 85.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/1.861, allocations: 12.01 MB / 0.7472 GB, free: 83.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001528/1.861, allocations: 46.64 kB / 0.7472 GB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.235e-05/1.861, allocations: 11.12 kB / 0.7472 GB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.926e-05/1.861, allocations: 16.05 kB / 0.7472 GB, free: 83.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05009/1.911, allocations: 22.43 MB / 0.7691 GB, free: 75.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.579e-05/1.911, allocations: 7 kB / 0.7692 GB, free: 75.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003456/1.915, allocations: 0.5101 MB / 0.7697 GB, free: 75.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01916/1.934, allocations: 4.329 MB / 0.7739 GB, free: 74.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001054/1.935, allocations: 14.48 kB / 0.7739 GB, free: 74.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02182/1.957, allocations: 16.8 MB / 0.7903 GB, free: 64.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-05/1.957, allocations: 14.47 kB / 0.7903 GB, free: 64.11 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03512/1.992, allocations: 17.17 MB / 0.8071 GB, free: 49.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004134/1.996, allocations: 1.193 MB / 0.8082 GB, free: 48.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.998, allocations: 12.33 kB / 0.8083 GB, free: 48.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003791/2.002, allocations: 123.5 kB / 0.8084 GB, free: 48.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005522/2.003, allocations: 161.4 kB / 0.8085 GB, free: 48.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/2.003, allocations: 80 kB / 0.8086 GB, free: 48.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.005483/2.008, allocations: 2.908 MB / 0.8114 GB, free: 45.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01054/2.019, allocations: 1.477 MB / 0.8129 GB, free: 44.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009457/2.02, allocations: 164.4 kB / 0.813 GB, free: 43.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01609/2.036, allocations: 10.23 MB / 0.823 GB, free: 34.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/2.036, allocations: 0 / 0.823 GB, free: 34.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005798/2.042, allocations: 3.858 MB / 0.8268 GB, free: 30.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00385/2.046, allocations: 458.2 kB / 0.8272 GB, free: 29.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2259/2.272, allocations: 13.64 MB / 0.8406 GB, free: 84.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009994/2.282, allocations: 5.13 MB / 0.8456 GB, free: 83.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/2.282, allocations: 3.375 kB / 0.8456 GB, free: 83.57 MB / 346.7 MB Notification: Performance of Templates: time 0.1389/2.421, allocations: 76.87 MB / 0.9206 GB, free: 44.55 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1)