Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2076, allocations: 50.53 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01493/0.2226, allocations: 15.86 MB / 425.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.2316, allocations: 5.12 MB / 430.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.2335, allocations: 115.6 kB / 431 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007603/0.2411, allocations: 4.427 MB / 435.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005145/0.2463, allocations: 2.489 MB / 438 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.2484, allocations: 1.158 MB / 439.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009144/0.2576, allocations: 8.108 MB / 447.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005764/0.2634, allocations: 5.303 MB / 452.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.2666, allocations: 2.469 MB / 455 MB, free: 4.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004203/0.2708, allocations: 3.357 MB / 458.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001027/0.2719, allocations: 0.5039 MB / 458.9 MB, free: 484 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.2744, allocations: 1.494 MB / 460.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.2767, allocations: 2.969 MB / 463.3 MB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002779/0.2795, allocations: 3.333 MB / 466.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008518/0.288, allocations: 10.29 MB / 476.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.288, allocations: 4 kB / 476.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.288, allocations: 0 / 476.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.2882, allocations: 0 / 476.9 MB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01543/0.3036, allocations: 7.641 MB / 484.6 MB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3037, allocations: 8.031 kB / 484.6 MB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.3178, allocations: 3.296 MB / 487.9 MB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.328, allocations: 4.746 MB / 492.6 MB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.3282, allocations: 333.1 kB / 493 MB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008679/0.3291, allocations: 471.5 kB / 493.4 MB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/0.3514, allocations: 14.56 MB / 0.4961 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001713/0.3516, allocations: 79.34 kB / 0.4961 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007001/0.3523, allocations: 215.8 kB / 0.4963 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005172/0.3575, allocations: 2.836 MB / 0.4991 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/0.3809, allocations: 13.21 MB / 0.512 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.238/0.6189, allocations: 58.26 MB / 0.5689 GB, free: 86.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/0.6339, allocations: 7.725 MB / 0.5765 GB, free: 84.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004288/0.6382, allocations: 5.047 MB / 0.5814 GB, free: 81.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.6522, allocations: 12.8 MB / 0.5939 GB, free: 71.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.6522, allocations: 70.14 kB / 0.594 GB, free: 71.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=326): time 5.941e-06/0.6522, allocations: 0 / 0.594 GB, free: 71.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=572): time 1.928/2.581, allocations: 411.6 MB / 0.9959 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/2.581, allocations: 264.2 kB / 0.9962 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/2.586, allocations: 5.433 MB / 1.001 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/2.587, allocations: 117.5 kB / 1.002 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/2.589, allocations: 3.945 MB / 1.005 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/2.59, allocations: 2.005 MB / 1.007 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003541/2.594, allocations: 2.182 MB / 1.01 GB, free: 134 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.168e-05/2.594, allocations: 305.1 kB / 1.01 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01113/2.605, allocations: 11.06 MB / 1.021 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01229/2.617, allocations: 15.23 MB / 1.036 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02507/2.643, allocations: 27.45 MB / 1.062 GB, free: 76.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.498e-05/2.643, allocations: 43.98 kB / 1.062 GB, free: 76.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.4964/3.139, allocations: 141.1 MB / 1.2 GB, free: 127.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/3.139, allocations: 64 kB / 1.2 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.584e-05/3.139, allocations: 140 kB / 1.2 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0743/3.214, allocations: 34.7 MB / 1.234 GB, free: 92.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/3.218, allocations: 1.566 MB / 1.236 GB, free: 91.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4186/3.636, allocations: 203.6 MB / 1.435 GB, free: 87.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/3.648, allocations: 1.723 MB / 1.436 GB, free: 86.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/3.65, allocations: 0.5382 MB / 1.437 GB, free: 85.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.004522/3.654, allocations: 3.098 MB / 1.44 GB, free: 82.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/3.656, allocations: 0.5802 MB / 1.44 GB, free: 82.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4957/4.152, allocations: 136.7 MB / 1.574 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/4.152, allocations: 27.89 kB / 1.574 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/4.152, allocations: 0 / 1.574 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/4.153, allocations: 0.6201 MB / 1.575 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/4.155, allocations: 91.73 kB / 1.575 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008061/4.163, allocations: 1.481 MB / 1.576 GB, free: 140.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003366/4.166, allocations: 0.8168 MB / 1.577 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06994/4.236, allocations: 42.78 MB / 1.619 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03201/4.268, allocations: 31.31 MB / 1.649 GB, free: 70.6 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01028/4.279, allocations: 11.26 MB / 1.66 GB, free: 59.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003958/4.283, allocations: 3.471 MB / 1.664 GB, free: 55.86 MB / 0.5294 GB Notification: Performance of Backend: time 3.41e-07/4.283, allocations: 0 / 1.664 GB, free: 55.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.04209/4.325, allocations: 23.99 MB / 1.687 GB, free: 31.84 MB / 0.5294 GB Notification: Performance of SimCode: time 0.02024/4.345, allocations: 18.85 MB / 1.706 GB, free: 13 MB / 0.5294 GB Notification: Performance of Templates: time 0.6127/4.958, allocations: 242.6 MB / 1.942 GB, free: 160.6 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1)