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") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.7407/0.7407, allocations: 110.8 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001788/0.001788, allocations: 160 kB / 143.7 MB, free: 4.883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.165e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05054/0.05057, allocations: 25.17 MB / 198.6 MB, free: 13.94 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.2426, allocations: 55.09 MB / 253.7 MB, free: 304 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.2428, allocations: 77.73 kB / 253.8 MB, free: 292 kB / 170.7 MB Notification: Performance of FrontEnd: time 0.6968/0.9397, allocations: 191.1 MB / 444.9 MB, free: 26.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004459/0.9402, allocations: 134.4 kB / 445 MB, free: 26.88 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.02969/0.9699, allocations: 7.626 MB / 452.6 MB, free: 24.24 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9699, allocations: 6.781 kB / 452.6 MB, free: 24.24 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1269/1.097, allocations: 23.27 MB / 475.9 MB, free: 22.8 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/1.121, allocations: 8.643 MB / 484.5 MB, free: 18.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000487/1.122, allocations: 226.1 kB / 484.7 MB, free: 18.11 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005304/1.127, allocations: 383.4 kB / 485.1 MB, free: 17.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02921/1.157, allocations: 17.04 MB / 0.4904 GB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1533/1.31, allocations: 18.97 MB / 0.5089 GB, free: 47.55 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/1.31, allocations: 40.94 kB / 0.509 GB, free: 47.55 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003616/1.314, allocations: 22.12 kB / 0.509 GB, free: 47.55 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03902/1.353, allocations: 7.634 MB / 0.5164 GB, free: 47.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5314/1.884, allocations: 113.6 MB / 0.6274 GB, free: 35.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006101/1.89, allocations: 5.094 MB / 0.6324 GB, free: 34.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004482/1.895, allocations: 3.734 MB / 0.636 GB, free: 34.4 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08842/1.983, allocations: 22.88 MB / 0.6584 GB, free: 30.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.285e-05/1.984, allocations: 66.5 kB / 0.6584 GB, free: 30.76 MB / 250.7 MB Notification: Performance of pre-optimization done (n=282): time 8.185e-06/1.984, allocations: 0 / 0.6584 GB, free: 30.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=338): time 0.05364/2.037, allocations: 20.19 MB / 0.6782 GB, free: 25.79 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/2.037, allocations: 211.4 kB / 0.6784 GB, free: 25.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006497/2.044, allocations: 4.296 MB / 0.6826 GB, free: 24.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/2.045, allocations: 28.92 kB / 0.6826 GB, free: 23.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/2.047, allocations: 4.049 MB / 0.6865 GB, free: 20.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001843/2.049, allocations: 1.199 MB / 0.6877 GB, free: 20.06 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/2.05, allocations: 1.219 kB / 0.6877 GB, free: 20.06 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003992/2.05, allocations: 0.6667 MB / 0.6884 GB, free: 19.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/2.055, allocations: 4.099 MB / 0.6924 GB, free: 16.28 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006873/2.062, allocations: 8.881 MB / 0.701 GB, free: 5.801 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007271/2.069, allocations: 5.223 MB / 0.7061 GB, free: 1.484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/2.07, allocations: 48 kB / 0.7062 GB, free: 1.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=1124) (initialization): time 0.1345/2.204, allocations: 12.23 MB / 0.7181 GB, free: 44.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/2.204, allocations: 6.656 kB / 0.7181 GB, free: 44.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003404/2.205, allocations: 168.9 kB / 0.7183 GB, free: 44.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/2.208, allocations: 1.069 MB / 0.7193 GB, free: 44.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007769/2.216, allocations: 1.983 MB / 0.7213 GB, free: 44.63 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/2.218, allocations: 2.331 MB / 0.7235 GB, free: 44.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0149/2.233, allocations: 1.428 MB / 0.7249 GB, free: 44.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/2.236, allocations: 0.7041 MB / 0.7256 GB, free: 44.03 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 775 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1038): * Single equations (assignments): 1023 * 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.002782/2.238, allocations: 0.5241 MB / 0.7261 GB, free: 43.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.24, allocations: 462.6 kB / 0.7266 GB, free: 43.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008088/2.248, allocations: 4.781 MB / 0.7313 GB, free: 43.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01377/2.262, allocations: 2.237 MB / 0.7334 GB, free: 43.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-05/2.262, allocations: 2.438 kB / 0.7334 GB, free: 43.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/2.262, allocations: 24.08 kB / 0.7335 GB, free: 43.6 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07158/2.334, allocations: 19.47 MB / 0.7525 GB, free: 42.74 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/2.334, allocations: 4.719 kB / 0.7525 GB, free: 42.74 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/2.337, allocations: 0.5041 MB / 0.753 GB, free: 42.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/2.339, allocations: 0.7909 MB / 0.7537 GB, free: 42.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000773/2.34, allocations: 106.1 kB / 0.7538 GB, free: 42.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/2.342, allocations: 1.838 MB / 0.7556 GB, free: 42.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/2.342, allocations: 7.781 kB / 0.7556 GB, free: 42.16 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01558/2.358, allocations: 12.63 MB / 0.768 GB, free: 36.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003288/2.361, allocations: 1.263 MB / 0.7692 GB, free: 36.06 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/2.362, allocations: 13.44 kB / 0.7692 GB, free: 36.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01936/2.382, allocations: 1.206 MB / 0.7704 GB, free: 35.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/2.383, allocations: 168.4 kB / 0.7706 GB, free: 35.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001428/2.384, allocations: 277.5 kB / 0.7708 GB, free: 35.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.009287/2.394, allocations: 2.907 MB / 0.7737 GB, free: 32.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.01635/2.41, allocations: 1.369 MB / 0.775 GB, free: 31.25 MB / 250.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 (268): * Single equations (assignments): 253 * 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.001666/2.412, allocations: 214.3 kB / 0.7752 GB, free: 31.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.04197/2.454, allocations: 10.81 MB / 0.7858 GB, free: 21.94 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/2.454, allocations: 0 / 0.7858 GB, free: 21.94 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01651/2.471, allocations: 4.989 MB / 0.7906 GB, free: 17.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/2.474, allocations: 464.7 kB / 0.7911 GB, free: 17.53 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1348/2.609, allocations: 13.26 MB / 0.804 GB, free: 42.45 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/2.619, allocations: 5.849 MB / 0.8097 GB, free: 41.59 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/2.619, allocations: 0 / 0.8097 GB, free: 41.59 MB / 250.7 MB Notification: Performance of Templates: time 0.2563/2.876, allocations: 89.16 MB / 0.8968 GB, free: 30.19 MB / 250.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)