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.001596/0.001596, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.443/1.443, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001657/0.001657, allocations: 113.6 kB / 247.4 MB, free: 6.215 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.2026/0.2026, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.506e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3791/0.4956, allocations: 98.49 MB / 0.5339 GB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001825/0.4958, allocations: 69.66 kB / 0.5339 GB, free: 1.801 MB / 346.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.2401/0.7359, allocations: 90.63 MB / 0.6224 GB, free: 14.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.736, allocations: 0 / 0.6224 GB, free: 14.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002007/0.7362, allocations: 84 kB / 0.6225 GB, free: 14.8 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.01624/0.7524, allocations: 4.758 MB / 0.6272 GB, free: 9.961 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.214e-05/0.7525, allocations: 16.03 kB / 0.6272 GB, free: 9.945 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.7647, allocations: 2.228 MB / 0.6293 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/0.7797, allocations: 5.066 MB / 0.6343 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.78, allocations: 140 kB / 0.6344 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/0.7825, allocations: 252 kB / 0.6347 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01489/0.7975, allocations: 6.799 MB / 0.6413 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02717/0.8247, allocations: 10.13 MB / 0.6512 GB, free: 236 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000397/0.8251, allocations: 59.41 kB / 0.6513 GB, free: 176 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002168/0.8273, allocations: 28 kB / 0.6513 GB, free: 148 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002023/0.8293, allocations: 1.151 MB / 0.6524 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.352/1.181, allocations: 49.28 MB / 0.7005 GB, free: 78.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/1.188, allocations: 4.42 MB / 0.7048 GB, free: 77.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/1.191, allocations: 3.047 MB / 0.7078 GB, free: 77.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.192, allocations: 1.347 MB / 0.7091 GB, free: 76.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004196/1.197, allocations: 3.12 MB / 0.7122 GB, free: 76.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=217): time 5.41e-06/1.197, allocations: 7.625 kB / 0.7122 GB, free: 76.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=284): time 0.05506/1.252, allocations: 24.98 MB / 0.7366 GB, free: 72.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/1.252, allocations: 156.5 kB / 0.7367 GB, free: 72.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/1.257, allocations: 3.172 MB / 0.7398 GB, free: 70.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008707/1.258, allocations: 32.48 kB / 0.7399 GB, free: 70.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00378/1.262, allocations: 3.303 MB / 0.7431 GB, free: 68.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.263, allocations: 1.014 MB / 0.7441 GB, free: 67.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/1.264, allocations: 3.312 kB / 0.7441 GB, free: 67.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003299/1.264, allocations: 0.5875 MB / 0.7447 GB, free: 67.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00363/1.268, allocations: 3.065 MB / 0.7476 GB, free: 66.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004947/1.273, allocations: 6.761 MB / 0.7543 GB, free: 60.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006396/1.279, allocations: 4.486 MB / 0.7586 GB, free: 58.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.507e-05/1.279, allocations: 36.66 kB / 0.7587 GB, free: 58.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01946/1.299, allocations: 11.43 MB / 0.7698 GB, free: 55.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.299, allocations: 96.64 kB / 0.7699 GB, free: 55.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/1.299, allocations: 132 kB / 0.77 GB, free: 55.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006337/1.305, allocations: 2.661 MB / 0.7726 GB, free: 53.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005161/1.31, allocations: 1.516 MB / 0.7741 GB, free: 51.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/1.331, allocations: 20.37 MB / 0.794 GB, free: 33.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/1.337, allocations: 303.8 kB / 0.7943 GB, free: 33.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.339, allocations: 408.2 kB / 0.7947 GB, free: 33.05 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (788): * Single equations (assignments): 780 * 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.001737/1.341, allocations: 454.7 kB / 0.7951 GB, free: 32.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00092/1.341, allocations: 371.1 kB / 0.7955 GB, free: 32.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/1.354, allocations: 7.32 MB / 0.8026 GB, free: 26.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.613e-05/1.354, allocations: 28 kB / 0.8027 GB, free: 26.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.354, allocations: 8 kB / 0.8027 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/1.354, allocations: 15.67 kB / 0.8027 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/1.38, allocations: 13.54 MB / 0.8159 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.109e-05/1.38, allocations: 0 / 0.8159 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.382, allocations: 395.2 kB / 0.8163 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005941/1.388, allocations: 2.418 MB / 0.8186 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004838/1.388, allocations: 8 kB / 0.8187 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/1.414, allocations: 20.14 MB / 0.8383 GB, free: 9.922 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/1.414, allocations: 7.938 kB / 0.8383 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01787/1.432, allocations: 7.852 MB / 0.846 GB, free: 1.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003038/1.435, allocations: 0.9257 MB / 0.8469 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.436, allocations: 11.94 kB / 0.8469 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/1.439, allocations: 167.5 kB / 0.8471 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008564/1.44, allocations: 189.7 kB / 0.8473 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/1.441, allocations: 72 kB / 0.8473 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.3073/1.748, allocations: 2.107 MB / 0.8494 GB, free: 112.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.748, allocations: 0 / 0.8494 GB, free: 112.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008613/1.757, allocations: 1.179 MB / 0.8505 GB, free: 112.5 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 (190): * Single equations (assignments): 181 * 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.001219/1.758, allocations: 377.8 kB / 0.8509 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01346/1.771, allocations: 8.146 MB / 0.8588 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.771, allocations: 1.031 kB / 0.8588 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005988/1.777, allocations: 3.726 MB / 0.8625 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.78, allocations: 334.4 kB / 0.8628 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.796, allocations: 9.666 MB / 0.8722 GB, free: 109.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004474/1.801, allocations: 3.656 MB / 0.8758 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005445/1.806, allocations: 2.168 MB / 0.8779 GB, free: 108.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009149/1.807, allocations: 257.7 kB / 0.8782 GB, free: 108.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.807, allocations: 0 / 0.8782 GB, free: 108.9 MB / 490.7 MB Notification: Performance of Templates: time 0.0797/1.887, allocations: 54.01 MB / 0.9309 GB, free: 92.4 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)