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.006989/0.006989, allocations: 105.6 kB / 15.74 MB, free: 6.055 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.001518/0.001518, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001194/0.001195, allocations: 51.33 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1002, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01364/0.1139, allocations: 13.52 MB / 386.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009789/0.1237, allocations: 4.858 MB / 391.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.1259, allocations: 99.56 kB / 391.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007457/0.1334, allocations: 4.186 MB / 395.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.1398, allocations: 2.155 MB / 398 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.1425, allocations: 1.092 MB / 399.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008274/0.1508, allocations: 5.647 MB / 404.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005937/0.1567, allocations: 5.309 MB / 410 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.1605, allocations: 2.162 MB / 412.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004216/0.1648, allocations: 2.874 MB / 415.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.1659, allocations: 0.4922 MB / 415.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.169, allocations: 1.623 MB / 417.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002447/0.1714, allocations: 2.584 MB / 419.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003409/0.1749, allocations: 2.906 MB / 422.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.1862, allocations: 9.532 MB / 432.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1862, allocations: 4 kB / 432.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1862, allocations: 0 / 432.2 MB, free: 6.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003429/0.1866, allocations: 0 / 432.2 MB, free: 6.02 MB / 366.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.01767/0.2043, allocations: 6.036 MB / 438.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.2043, allocations: 12.03 kB / 438.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.2167, allocations: 2.533 MB / 440.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009993/0.2268, allocations: 3.913 MB / 444.7 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.2271, allocations: 308.2 kB / 445 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.2289, allocations: 443.6 kB / 445.4 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2692/0.4981, allocations: 12.4 MB / 457.8 MB, free: 62.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002187/0.4984, allocations: 51.14 kB / 457.9 MB, free: 62.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005923/0.499, allocations: 193.2 kB / 458.1 MB, free: 62.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/0.503, allocations: 2.03 MB / 460.1 MB, free: 62.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.5262, allocations: 10.56 MB / 470.7 MB, free: 58.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05075/0.577, allocations: 44.14 MB / 0.5028 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.5886, allocations: 4.846 MB / 0.5075 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/0.5908, allocations: 2.002 MB / 0.5094 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.6015, allocations: 7.112 MB / 0.5164 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.6016, allocations: 55.56 kB / 0.5164 GB, free: 4.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 6.983e-06/0.6016, allocations: 0 / 0.5164 GB, free: 4.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=223): time 0.06705/0.6686, allocations: 19.66 MB / 0.5356 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6688, allocations: 201.9 kB / 0.5358 GB, free: 228 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/0.675, allocations: 4.489 MB / 0.5402 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003449/0.6754, allocations: 59.66 kB / 0.5403 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.6779, allocations: 3.519 MB / 0.5437 GB, free: 8.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009131/0.6788, allocations: 0.8406 MB / 0.5445 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/0.6805, allocations: 1.339 MB / 0.5458 GB, free: 5.895 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6806, allocations: 309.1 kB / 0.5461 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003301/0.6839, allocations: 2.363 MB / 0.5484 GB, free: 3.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006182/0.6901, allocations: 6.164 MB / 0.5545 GB, free: 11.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/0.7009, allocations: 9.179 MB / 0.5634 GB, free: 144 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.701, allocations: 40 kB / 0.5635 GB, free: 104 kB / 430.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02008/0.7211, allocations: 9.548 MB / 0.5728 GB, free: 6.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.7213, allocations: 60 kB / 0.5728 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/0.7215, allocations: 132 kB / 0.573 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004555/0.7261, allocations: 1.37 MB / 0.5743 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/0.7316, allocations: 1.477 MB / 0.5757 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.7438, allocations: 8.467 MB / 0.584 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005595/0.7494, allocations: 351.4 kB / 0.5843 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.7505, allocations: 392 kB / 0.5847 GB, free: 10.16 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.00525/0.7557, allocations: 2.49 MB / 0.5872 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009908/0.7567, allocations: 402.8 kB / 0.5875 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008535/0.7653, allocations: 4.126 MB / 0.5916 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.7653, allocations: 27.98 kB / 0.5916 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.7653, allocations: 10.16 kB / 0.5916 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.7654, allocations: 7.969 kB / 0.5916 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/0.7844, allocations: 10.14 MB / 0.6015 GB, free: 8.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.7845, allocations: 12.09 kB / 0.6015 GB, free: 8.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.786, allocations: 331.5 kB / 0.6018 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003775/0.7898, allocations: 1.144 MB / 0.603 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/0.79, allocations: 47.98 kB / 0.603 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.8004, allocations: 7.148 MB / 0.61 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.8004, allocations: 16 kB / 0.61 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/0.8125, allocations: 6.9 MB / 0.6167 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/0.8152, allocations: 0.7301 MB / 0.6174 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005329/0.8158, allocations: 51.97 kB / 0.6175 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.8175, allocations: 107.9 kB / 0.6176 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/0.818, allocations: 145 kB / 0.6177 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/0.8182, allocations: 63.98 kB / 0.6178 GB, free: 7.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005526/0.8237, allocations: 2.818 MB / 0.6205 GB, free: 5.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8237, allocations: 0 / 0.6205 GB, free: 5.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007363/0.8311, allocations: 1.215 MB / 0.6217 GB, free: 3.828 MB / 494.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.0007784/0.8319, allocations: 238.7 kB / 0.622 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2688/1.101, allocations: 5.759 MB / 0.6276 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/1.101, allocations: 1.188 kB / 0.6276 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003715/1.105, allocations: 1.866 MB / 0.6294 GB, free: 161.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/1.108, allocations: 0.5452 MB / 0.6299 GB, free: 161.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/1.135, allocations: 11.06 MB / 0.6407 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005083/1.141, allocations: 3.881 MB / 0.6445 GB, free: 156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004652/1.145, allocations: 1.942 MB / 0.6464 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000832/1.146, allocations: 274.2 kB / 0.6467 GB, free: 155.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/1.146, allocations: 0 / 0.6467 GB, free: 155.9 MB / 494.1 MB Notification: Performance of Templates: time 0.07599/1.222, allocations: 42.21 MB / 0.6879 GB, free: 120.5 MB / 494.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)