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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001634/0.001634, allocations: 180.4 kB / 12.74 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.751/1.751, allocations: 194.3 MB / 207.5 MB, free: 3.449 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001669/0.001669, allocations: 107.6 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2541/0.2541, allocations: 39.95 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.648e-05, allocations: 0 / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5016/0.6132, allocations: 99.15 MB / 0.5413 GB, free: 8.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/0.6137, allocations: 70.03 kB / 0.5414 GB, free: 8.723 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2496/0.8633, allocations: 92.65 MB / 0.6318 GB, free: 3.605 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8633, allocations: 0 / 0.6318 GB, free: 3.605 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002773/0.8636, allocations: 83.98 kB / 0.6319 GB, free: 3.523 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.0181/0.8817, allocations: 4.762 MB / 0.6366 GB, free: 14.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.8818, allocations: 8.031 kB / 0.6366 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.8928, allocations: 2.232 MB / 0.6388 GB, free: 12.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.9092, allocations: 5.074 MB / 0.6437 GB, free: 7.289 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005343/0.9098, allocations: 336.5 kB / 0.644 GB, free: 6.957 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00335/0.9132, allocations: 435.8 kB / 0.6445 GB, free: 6.531 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03237/0.9456, allocations: 11.49 MB / 0.6557 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004546/0.9461, allocations: 59.45 kB / 0.6557 GB, free: 9.949 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002556/0.9487, allocations: 215.8 kB / 0.6559 GB, free: 9.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/0.9508, allocations: 1.151 MB / 0.6571 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3944/1.345, allocations: 9.886 MB / 0.6667 GB, free: 101.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08638/1.432, allocations: 50.75 MB / 0.7163 GB, free: 72.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01943/1.451, allocations: 5.87 MB / 0.722 GB, free: 71.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005224/1.456, allocations: 3.129 MB / 0.7251 GB, free: 70.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0209/1.477, allocations: 9.32 MB / 0.7342 GB, free: 65.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01258/1.49, allocations: 3.384 MB / 0.7375 GB, free: 65.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=211): time 1.621e-05/1.49, allocations: 0 / 0.7375 GB, free: 65.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=285): time 0.093/1.583, allocations: 27.33 MB / 0.7642 GB, free: 58.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/1.583, allocations: 159.5 kB / 0.7643 GB, free: 58.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008717/1.592, allocations: 3.67 MB / 0.7679 GB, free: 56.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/1.593, allocations: 71.42 kB / 0.768 GB, free: 56.76 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003378/1.597, allocations: 3.243 MB / 0.7711 GB, free: 54.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002/1.599, allocations: 1.054 MB / 0.7722 GB, free: 53.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/1.599, allocations: 135.2 kB / 0.7723 GB, free: 52.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003683/1.599, allocations: 0.5845 MB / 0.7729 GB, free: 52.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004476/1.604, allocations: 3.243 MB / 0.776 GB, free: 49.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006142/1.61, allocations: 6.845 MB / 0.7827 GB, free: 41.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/1.617, allocations: 4.692 MB / 0.7873 GB, free: 37.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.627e-05/1.617, allocations: 39.95 kB / 0.7873 GB, free: 37.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02399/1.641, allocations: 12.4 MB / 0.7994 GB, free: 27.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.641, allocations: 97.3 kB / 0.7995 GB, free: 27.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/1.641, allocations: 128 kB / 0.7997 GB, free: 26.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/1.648, allocations: 2.66 MB / 0.8023 GB, free: 24.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005877/1.654, allocations: 1.477 MB / 0.8037 GB, free: 23.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/1.679, allocations: 21.54 MB / 0.8247 GB, free: 2.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007281/1.686, allocations: 428 kB / 0.8251 GB, free: 2.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/1.688, allocations: 396.6 kB / 0.8255 GB, free: 1.738 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (765): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002765/1.691, allocations: 0.6 MB / 0.8261 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.692, allocations: 398.8 kB / 0.8265 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/1.709, allocations: 7.846 MB / 0.8341 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/1.709, allocations: 28 kB / 0.8342 GB, free: 8.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/1.709, allocations: 15.89 kB / 0.8342 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-05/1.709, allocations: 15.95 kB / 0.8342 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3936/2.103, allocations: 14.61 MB / 0.8485 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/2.103, allocations: 2.422 kB / 0.8485 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/2.106, allocations: 400 kB / 0.8489 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008056/2.114, allocations: 2.44 MB / 0.8512 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007921/2.115, allocations: 52.61 kB / 0.8513 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02662/2.141, allocations: 21.3 MB / 0.8721 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/2.142, allocations: 7.891 kB / 0.8721 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/2.156, allocations: 8.216 MB / 0.8801 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004122/2.16, allocations: 0.9943 MB / 0.8811 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/2.162, allocations: 48.39 kB / 0.8811 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/2.164, allocations: 205.4 kB / 0.8813 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007731/2.165, allocations: 193.1 kB / 0.8815 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/2.165, allocations: 80.06 kB / 0.8816 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004766/2.17, allocations: 2.557 MB / 0.8841 GB, free: 102 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.17, allocations: 2.875 kB / 0.8841 GB, free: 102 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008295/2.178, allocations: 1.379 MB / 0.8854 GB, free: 101.9 MB / 490.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/2.18, allocations: 446 kB / 0.8859 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01587/2.195, allocations: 8.709 MB / 0.8944 GB, free: 98.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.196, allocations: 2.719 kB / 0.8944 GB, free: 98.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006098/2.202, allocations: 3.948 MB / 0.8982 GB, free: 96.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/2.204, allocations: 437 kB / 0.8986 GB, free: 96.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/2.224, allocations: 10.09 MB / 0.9085 GB, free: 93.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/2.228, allocations: 3.67 MB / 0.9121 GB, free: 91.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005904/2.234, allocations: 2.145 MB / 0.9142 GB, free: 91.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/2.235, allocations: 269.5 kB / 0.9144 GB, free: 91.66 MB / 490.7 MB Notification: Performance of SimCode: time 2.645e-06/2.236, allocations: 0 / 0.9144 GB, free: 91.66 MB / 490.7 MB Notification: Performance of Templates: time 0.1094/2.345, allocations: 60.11 MB / 0.9731 GB, free: 46.05 MB / 490.7 MB 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)