Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.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.2.1_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.001035/0.001035, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001168/0.001168, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.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.0006672/0.0006673, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2783, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04904/0.3274, allocations: 50.26 MB / 376.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02772/0.3552, allocations: 11.29 MB / 388 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01111/0.3663, allocations: 243.4 kB / 388.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009226/0.3756, allocations: 2.574 MB / 390.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0238/0.3994, allocations: 7.712 MB / 398.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.4041, allocations: 0.9165 MB / 399.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04829/0.4524, allocations: 35.71 MB / 435.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01134/0.4638, allocations: 6.564 MB / 441.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004027/0.4678, allocations: 1.658 MB / 443.4 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004566/0.4724, allocations: 2.547 MB / 446 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.4738, allocations: 188 kB / 446.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.4771, allocations: 1.178 MB / 447.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003269/0.4804, allocations: 2.194 MB / 449.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002398/0.4828, allocations: 1.038 MB / 450.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2417/0.7245, allocations: 7.42 MB / 458 MB, free: 43.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7246, allocations: 1.688 kB / 458 MB, free: 43.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.7246, allocations: 0.9688 kB / 458 MB, free: 43.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003428/0.725, allocations: 1 kB / 458 MB, free: 43.2 MB / 382.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.01305/0.738, allocations: 5.001 MB / 463 MB, free: 41.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7381, allocations: 13.38 kB / 463 MB, free: 41.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.7493, allocations: 2.588 MB / 465.6 MB, free: 40.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.7595, allocations: 3.785 MB / 469.4 MB, free: 40.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.7599, allocations: 306.7 kB / 469.7 MB, free: 40.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002137/0.762, allocations: 437.7 kB / 470.1 MB, free: 40.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/0.7898, allocations: 12.4 MB / 482.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/0.7902, allocations: 54.28 kB / 482.6 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/0.7917, allocations: 192.4 kB / 482.7 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003113/0.7948, allocations: 2.036 MB / 484.8 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.8177, allocations: 10.54 MB / 495.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05895/0.8767, allocations: 44.36 MB / 0.527 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.889, allocations: 4.876 MB / 0.5318 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.892, allocations: 1.999 MB / 0.5337 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01268/0.9047, allocations: 7.112 MB / 0.5407 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.376e-05/0.9049, allocations: 59.17 kB / 0.5407 GB, free: 4.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=179): time 8.406e-06/0.9049, allocations: 0 / 0.5407 GB, free: 4.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=223): time 0.07107/0.976, allocations: 19.73 MB / 0.56 GB, free: 1.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.9762, allocations: 208.5 kB / 0.5602 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/0.9868, allocations: 4.461 MB / 0.5646 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007592/0.9876, allocations: 57.7 kB / 0.5646 GB, free: 12.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00415/0.9917, allocations: 3.522 MB / 0.5681 GB, free: 8.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/0.9934, allocations: 0.8391 MB / 0.5689 GB, free: 7.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008659/0.9943, allocations: 136 kB / 0.569 GB, free: 7.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0006522/0.9949, allocations: 0.583 MB / 0.5696 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004474/0.9994, allocations: 2.34 MB / 0.5719 GB, free: 4.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006803/1.006, allocations: 6.135 MB / 0.5779 GB, free: 12.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006625/1.013, allocations: 3.716 MB / 0.5815 GB, free: 9.289 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.013, allocations: 40 kB / 0.5815 GB, free: 9.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02114/1.034, allocations: 9.486 MB / 0.5908 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.034, allocations: 64.19 kB / 0.5908 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002537/1.035, allocations: 136 kB / 0.591 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004278/1.039, allocations: 1.385 MB / 0.5923 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005491/1.045, allocations: 1.471 MB / 0.5938 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/1.058, allocations: 7.967 MB / 0.6015 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.064, allocations: 355.5 kB / 0.6019 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.065, allocations: 384 kB / 0.6022 GB, free: 4.883 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 (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.005344/1.071, allocations: 2.486 MB / 0.6047 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.072, allocations: 409.8 kB / 0.6051 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008918/1.081, allocations: 4.112 MB / 0.6091 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-05/1.081, allocations: 31.97 kB / 0.6091 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.081, allocations: 8 kB / 0.6091 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/1.081, allocations: 7.969 kB / 0.6091 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/1.105, allocations: 10.36 MB / 0.6192 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/1.105, allocations: 10.98 kB / 0.6193 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.106, allocations: 344.8 kB / 0.6196 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/1.11, allocations: 1.152 MB / 0.6207 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/1.11, allocations: 44 kB / 0.6207 GB, free: 2.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2393/1.35, allocations: 6.644 MB / 0.6272 GB, free: 190.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/1.35, allocations: 9 kB / 0.6272 GB, free: 190.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.36, allocations: 6.894 MB / 0.634 GB, free: 187.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.363, allocations: 0.7419 MB / 0.6347 GB, free: 187.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007314/1.364, allocations: 43 kB / 0.6347 GB, free: 187.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.365, allocations: 112.5 kB / 0.6349 GB, free: 187.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/1.366, allocations: 142.8 kB / 0.635 GB, free: 187.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.366, allocations: 62.67 kB / 0.635 GB, free: 187.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0042/1.37, allocations: 2.795 MB / 0.6378 GB, free: 186.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.37, allocations: 1.688 kB / 0.6378 GB, free: 186.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007219/1.377, allocations: 1.218 MB / 0.639 GB, free: 186.4 MB / 478.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 (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.000617/1.378, allocations: 213.1 kB / 0.6392 GB, free: 186.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009033/1.387, allocations: 5.71 MB / 0.6447 GB, free: 184.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.387, allocations: 0 / 0.6447 GB, free: 184.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002776/1.39, allocations: 1.862 MB / 0.6466 GB, free: 183.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.394, allocations: 0.5199 MB / 0.6471 GB, free: 183.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/1.418, allocations: 13.11 MB / 0.6599 GB, free: 171.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006265/1.425, allocations: 3.88 MB / 0.6637 GB, free: 167.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005506/1.43, allocations: 1.925 MB / 0.6655 GB, free: 165.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.431, allocations: 275.4 kB / 0.6658 GB, free: 165.6 MB / 478.1 MB Notification: Performance of SimCode: time 2.284e-06/1.431, allocations: 0 / 0.6658 GB, free: 165.6 MB / 478.1 MB Notification: Performance of Templates: time 0.07604/1.507, allocations: 42.69 MB / 0.7075 GB, free: 122.9 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1)