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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 114.6 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.4 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 51.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.09096, allocations: 46.63 MB / 326.1 MB, free: 4.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2395/0.3305, allocations: 55.45 MB / 381.6 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02895/0.3595, allocations: 11.81 MB / 393.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01554/0.3751, allocations: 241.7 kB / 393.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007942/0.3831, allocations: 4.05 MB / 397.7 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009328/0.3925, allocations: 2.002 MB / 399.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003958/0.3965, allocations: 1.033 MB / 400.7 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.4067, allocations: 5.867 MB / 406.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007488/0.4142, allocations: 5.607 MB / 412.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005148/0.4194, allocations: 2.21 MB / 414.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.4251, allocations: 3.181 MB / 417.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.4271, allocations: 0.4922 MB / 418.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/0.4318, allocations: 1.639 MB / 419.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004203/0.436, allocations: 2.613 MB / 422.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005702/0.4417, allocations: 2.93 MB / 425.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.4554, allocations: 9.354 MB / 434.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.4555, allocations: 4 kB / 434.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4555, allocations: 0 / 434.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003856/0.4559, allocations: 4 kB / 434.6 MB, free: 12.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01709/0.473, allocations: 6.021 MB / 440.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.473, allocations: 16.02 kB / 440.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.4845, allocations: 2.543 MB / 443.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008911/0.4934, allocations: 3.84 MB / 447 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/0.4938, allocations: 307.5 kB / 447.3 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002798/0.4966, allocations: 441.2 kB / 447.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.5242, allocations: 12.41 MB / 460.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002049/0.5245, allocations: 63.48 kB / 460.2 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000728/0.5252, allocations: 187.2 kB / 460.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003128/0.5284, allocations: 2.033 MB / 462.5 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/0.5502, allocations: 10.56 MB / 473 MB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06024/0.6105, allocations: 44.38 MB / 0.5053 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.6234, allocations: 4.838 MB / 0.51 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003018/0.6265, allocations: 2.007 MB / 0.512 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.6389, allocations: 7.116 MB / 0.5189 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.941e-05/0.639, allocations: 51.56 kB / 0.519 GB, free: 10.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.24e-06/0.639, allocations: 4 kB / 0.519 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06715/0.7061, allocations: 19.65 MB / 0.5382 GB, free: 6.371 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.7063, allocations: 213.8 kB / 0.5384 GB, free: 6.117 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00735/0.7137, allocations: 4.485 MB / 0.5427 GB, free: 1.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005961/0.7143, allocations: 61.64 kB / 0.5428 GB, free: 1.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2342/0.9486, allocations: 3.518 MB / 0.5462 GB, free: 179.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.9499, allocations: 0.8351 MB / 0.547 GB, free: 178.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/0.9524, allocations: 1.343 MB / 0.5484 GB, free: 178.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.9525, allocations: 302.6 kB / 0.5486 GB, free: 178.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004006/0.9565, allocations: 2.364 MB / 0.551 GB, free: 177.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006063/0.9626, allocations: 6.158 MB / 0.557 GB, free: 171.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.9736, allocations: 9.164 MB / 0.5659 GB, free: 164.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/0.9739, allocations: 38.5 kB / 0.566 GB, free: 164.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01804/0.992, allocations: 9.553 MB / 0.5753 GB, free: 160.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.9921, allocations: 66.53 kB / 0.5753 GB, free: 160.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/0.9923, allocations: 133.5 kB / 0.5755 GB, free: 160.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003835/0.9961, allocations: 1.376 MB / 0.5768 GB, free: 160.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004689/1.001, allocations: 1.479 MB / 0.5783 GB, free: 160.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/1.011, allocations: 8.517 MB / 0.5866 GB, free: 153.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005466/1.016, allocations: 351.7 kB / 0.5869 GB, free: 153 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.017, allocations: 385.6 kB / 0.5873 GB, free: 152.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004604/1.022, allocations: 2.494 MB / 0.5897 GB, free: 150.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009458/1.023, allocations: 398.8 kB / 0.5901 GB, free: 149.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007537/1.031, allocations: 4.115 MB / 0.5941 GB, free: 145.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/1.031, allocations: 28 kB / 0.5941 GB, free: 145.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/1.031, allocations: 13.19 kB / 0.5942 GB, free: 145.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/1.031, allocations: 7.969 kB / 0.5942 GB, free: 145.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.048, allocations: 10.37 MB / 0.6043 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.048, allocations: 5.75 kB / 0.6043 GB, free: 135.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/1.05, allocations: 351.4 kB / 0.6046 GB, free: 134.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/1.053, allocations: 1.144 MB / 0.6058 GB, free: 133.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/1.054, allocations: 44 kB / 0.6058 GB, free: 133.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008502/1.062, allocations: 7.136 MB / 0.6128 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/1.062, allocations: 4 kB / 0.6128 GB, free: 126.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.072, allocations: 6.918 MB / 0.6195 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.075, allocations: 0.734 MB / 0.6202 GB, free: 118.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008433/1.075, allocations: 43.77 kB / 0.6203 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.077, allocations: 115.9 kB / 0.6204 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.078, allocations: 144.9 kB / 0.6205 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.078, allocations: 63.98 kB / 0.6206 GB, free: 118.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004068/1.082, allocations: 2.822 MB / 0.6233 GB, free: 115.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.082, allocations: 0 / 0.6233 GB, free: 115.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006663/1.089, allocations: 1.212 MB / 0.6245 GB, free: 114.3 MB / 462.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006618/1.089, allocations: 230.8 kB / 0.6247 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.1, allocations: 6.869 MB / 0.6315 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/1.1, allocations: 0 / 0.6315 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002438/1.103, allocations: 1.873 MB / 0.6333 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.107, allocations: 0.5336 MB / 0.6338 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.126, allocations: 13.61 MB / 0.6471 GB, free: 91.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004309/1.13, allocations: 3.879 MB / 0.6509 GB, free: 87.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004646/1.135, allocations: 1.93 MB / 0.6528 GB, free: 85.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009393/1.136, allocations: 271.4 kB / 0.653 GB, free: 85 MB / 462.1 MB Notification: Performance of SimCode: time 1.413e-06/1.136, allocations: 0 / 0.653 GB, free: 85 MB / 462.1 MB Notification: Performance of Templates: time 0.07813/1.214, allocations: 45.87 MB / 0.6978 GB, free: 39.14 MB / 462.1 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)