Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00181/0.001811, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.656/1.656, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3177/0.3177, allocations: 39.93 MB / 309.4 MB, free: 9.062 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 63.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1422, allocations: 56.88 MB / 434 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.3398/0.482, allocations: 46.98 MB / 481 MB, free: 25.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03179/0.5139, allocations: 10.17 MB / 491.1 MB, free: 19.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0182/0.5322, allocations: 211.6 kB / 491.3 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006065/0.5384, allocations: 2.881 MB / 494.2 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006474/0.5449, allocations: 1.84 MB / 496.1 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.5478, allocations: 0.7857 MB / 496.8 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007077/0.5549, allocations: 4.129 MB / 0.4892 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00742/0.5623, allocations: 3.477 MB / 0.4926 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/0.5689, allocations: 1.84 MB / 0.4944 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00737/0.5763, allocations: 2.408 MB / 0.4968 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002652/0.5791, allocations: 316.1 kB / 0.4971 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00579/0.5849, allocations: 1.201 MB / 0.4982 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.5897, allocations: 1.988 MB / 0.5002 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008074/0.5978, allocations: 2.321 MB / 0.5025 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.6137, allocations: 6.967 MB / 0.5093 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.655e-05/0.6138, allocations: 1.125 kB / 0.5093 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.792e-06/0.6138, allocations: 0 / 0.5093 GB, free: 7.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005205/0.6143, allocations: 3.938 kB / 0.5093 GB, free: 7 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.0244/0.6387, allocations: 5.341 MB / 0.5145 GB, free: 3.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.764e-05/0.6389, allocations: 13.48 kB / 0.5145 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.6492, allocations: 1.873 MB / 0.5163 GB, free: 2.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008664/0.6579, allocations: 2.551 MB / 0.5188 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.6583, allocations: 243.2 kB / 0.519 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002645/0.661, allocations: 311.7 kB / 0.5193 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.6865, allocations: 11.2 MB / 0.5303 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.6867, allocations: 43.59 kB / 0.5303 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007446/0.6875, allocations: 151.8 kB / 0.5305 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00459/0.6921, allocations: 2.302 MB / 0.5327 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02622/0.7184, allocations: 9.866 MB / 0.5423 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0739/0.7923, allocations: 44.31 MB / 0.5856 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/0.8069, allocations: 5.822 MB / 0.5913 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.8115, allocations: 3.233 MB / 0.5945 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01584/0.8274, allocations: 9.332 MB / 0.6036 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01001/0.8374, allocations: 3.369 MB / 0.6069 GB, free: 5.121 MB / 478.1 MB Notification: Performance of pre-optimization done (n=211): time 4.849e-06/0.8375, allocations: 0 / 0.6069 GB, free: 5.121 MB / 478.1 MB Notification: Performance of matching and sorting (n=282): time 0.4939/1.331, allocations: 32.6 MB / 0.6387 GB, free: 113.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.332, allocations: 162.4 kB / 0.6388 GB, free: 113.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008277/1.34, allocations: 4.203 MB / 0.643 GB, free: 113.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.341, allocations: 69.05 kB / 0.643 GB, free: 113.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00338/1.344, allocations: 3.247 MB / 0.6462 GB, free: 111.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.346, allocations: 1.04 MB / 0.6472 GB, free: 110.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003324/1.35, allocations: 1.336 MB / 0.6485 GB, free: 110.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.717e-05/1.35, allocations: 301.8 kB / 0.6488 GB, free: 110.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006132/1.356, allocations: 3.292 MB / 0.652 GB, free: 109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/1.367, allocations: 6.895 MB / 0.6587 GB, free: 103.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02251/1.389, allocations: 11.01 MB / 0.6695 GB, free: 95.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006429/1.39, allocations: 36.62 kB / 0.6695 GB, free: 95.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.03481/1.425, allocations: 12.43 MB / 0.6817 GB, free: 91.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/1.425, allocations: 58.41 kB / 0.6817 GB, free: 91.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003716/1.426, allocations: 127.3 kB / 0.6818 GB, free: 91.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007748/1.433, allocations: 2.632 MB / 0.6844 GB, free: 91.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007075/1.44, allocations: 1.474 MB / 0.6859 GB, free: 91.24 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0281/1.469, allocations: 23.41 MB / 0.7087 GB, free: 69.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0095/1.478, allocations: 435.3 kB / 0.7091 GB, free: 68.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002775/1.481, allocations: 390.6 kB / 0.7095 GB, free: 68.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (761): * Single equations (assignments): 754 * 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 {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.008834/1.49, allocations: 2.234 MB / 0.7117 GB, free: 66.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.492, allocations: 406.8 kB / 0.7121 GB, free: 66.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.51, allocations: 7.82 MB / 0.7197 GB, free: 58.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.116e-05/1.51, allocations: 33.56 kB / 0.7197 GB, free: 58.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-05/1.51, allocations: 13.06 kB / 0.7198 GB, free: 58.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-05/1.51, allocations: 11.95 kB / 0.7198 GB, free: 58.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03485/1.545, allocations: 14.47 MB / 0.7339 GB, free: 43.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.887e-05/1.545, allocations: 8.125 kB / 0.7339 GB, free: 43.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.548, allocations: 387.9 kB / 0.7343 GB, free: 43.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006048/1.554, allocations: 2.301 MB / 0.7365 GB, free: 41.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009801/1.555, allocations: 49.2 kB / 0.7366 GB, free: 41.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0254/1.58, allocations: 23.21 MB / 0.7592 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.58, allocations: 0 / 0.7592 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/1.597, allocations: 7.957 MB / 0.767 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003629/1.601, allocations: 0.9721 MB / 0.768 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002541/1.604, allocations: 51.73 kB / 0.768 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/1.608, allocations: 213.5 kB / 0.7682 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00137/1.609, allocations: 190.5 kB / 0.7684 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006261/1.61, allocations: 77.55 kB / 0.7685 GB, free: 7.844 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007261/1.617, allocations: 2.642 MB / 0.771 GB, free: 5.195 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.42e-07/1.617, allocations: 4 kB / 0.771 GB, free: 5.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01216/1.629, allocations: 1.35 MB / 0.7724 GB, free: 3.848 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002334/1.632, allocations: 0.4935 MB / 0.7728 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02143/1.653, allocations: 11.33 MB / 0.7839 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/1.653, allocations: 0 / 0.7839 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007893/1.661, allocations: 3.95 MB / 0.7878 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00646/1.667, allocations: 497.8 kB / 0.7882 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03441/1.702, allocations: 14.12 MB / 0.802 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008359/1.71, allocations: 3.57 MB / 0.8055 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007667/1.718, allocations: 2.121 MB / 0.8076 GB, free: 184 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.72, allocations: 271.4 kB / 0.8078 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.804e-06/1.72, allocations: 0 / 0.8078 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.3697/2.09, allocations: 64.81 MB / 0.8711 GB, free: 168.6 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)