Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001496/0.001496, allocations: 169.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.293/1.293, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.187/0.187, allocations: 37.99 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.346e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.4877, allocations: 92.82 MB / 498.5 MB, free: 17.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.488, allocations: 67.34 kB / 498.6 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2302/0.7182, allocations: 92.4 MB / 0.5771 GB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7183, allocations: 0 / 0.5771 GB, free: 10.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002079/0.7185, allocations: 87.94 kB / 0.5772 GB, free: 10.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.0155/0.734, allocations: 4.718 MB / 0.5818 GB, free: 5.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.7341, allocations: 11.97 kB / 0.5818 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.7453, allocations: 2.232 MB / 0.584 GB, free: 3.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.7608, allocations: 5.05 MB / 0.5889 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003802/0.7612, allocations: 324.5 kB / 0.5893 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.7637, allocations: 431.8 kB / 0.5897 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02816/0.7919, allocations: 11.48 MB / 0.6009 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.7921, allocations: 55.47 kB / 0.6009 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009595/0.7931, allocations: 207.9 kB / 0.6011 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00159/0.7947, allocations: 1.155 MB / 0.6023 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/0.8164, allocations: 9.878 MB / 0.6119 GB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2733/1.09, allocations: 50.69 MB / 0.6614 GB, free: 53.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/1.102, allocations: 5.844 MB / 0.6671 GB, free: 52.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.105, allocations: 3.122 MB / 0.6702 GB, free: 52.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/1.117, allocations: 9.198 MB / 0.6792 GB, free: 50.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009621/1.127, allocations: 3.378 MB / 0.6825 GB, free: 49.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 1.062e-05/1.127, allocations: 2.109 kB / 0.6825 GB, free: 49.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.08972/1.216, allocations: 27.08 MB / 0.7089 GB, free: 42.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/1.217, allocations: 158.1 kB / 0.709 GB, free: 42.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009085/1.226, allocations: 3.659 MB / 0.7126 GB, free: 41.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009603/1.227, allocations: 75.16 kB / 0.7127 GB, free: 41.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003188/1.23, allocations: 3.245 MB / 0.7159 GB, free: 39.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/1.232, allocations: 1.041 MB / 0.7169 GB, free: 38.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/1.233, allocations: 131.4 kB / 0.717 GB, free: 38.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000707/1.234, allocations: 0.5866 MB / 0.7176 GB, free: 37.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005383/1.239, allocations: 3.239 MB / 0.7207 GB, free: 36.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007494/1.247, allocations: 6.828 MB / 0.7274 GB, free: 29.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008107/1.255, allocations: 4.691 MB / 0.732 GB, free: 25.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002032/1.255, allocations: 36 kB / 0.732 GB, free: 25.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02764/1.283, allocations: 12.37 MB / 0.7441 GB, free: 15.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/1.283, allocations: 97.56 kB / 0.7442 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/1.283, allocations: 124 kB / 0.7443 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006938/1.29, allocations: 2.668 MB / 0.7469 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/1.296, allocations: 1.471 MB / 0.7484 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02728/1.323, allocations: 21.57 MB / 0.7694 GB, free: 9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006469/1.329, allocations: 425.8 kB / 0.7698 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/1.332, allocations: 391.9 kB / 0.7702 GB, free: 8.277 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 574 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 754 * 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,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.002798/1.334, allocations: 0.6014 MB / 0.7708 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.336, allocations: 398.8 kB / 0.7712 GB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2492/1.585, allocations: 7.84 MB / 0.7788 GB, free: 94.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-05/1.585, allocations: 34.58 kB / 0.7789 GB, free: 94.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.075e-05/1.585, allocations: 11.56 kB / 0.7789 GB, free: 94.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-05/1.585, allocations: 12.61 kB / 0.7789 GB, free: 94.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/1.613, allocations: 14.52 MB / 0.7931 GB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/1.613, allocations: 2.188 kB / 0.7931 GB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/1.615, allocations: 394.7 kB / 0.7934 GB, free: 93.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006486/1.622, allocations: 2.456 MB / 0.7958 GB, free: 93.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000629/1.622, allocations: 52.19 kB / 0.7959 GB, free: 93.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/1.646, allocations: 21.32 MB / 0.8167 GB, free: 88.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/1.646, allocations: 6.844 kB / 0.8167 GB, free: 88.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/1.66, allocations: 8.184 MB / 0.8247 GB, free: 85.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00272/1.662, allocations: 0.9915 MB / 0.8257 GB, free: 84.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009411/1.663, allocations: 54.8 kB / 0.8257 GB, free: 84.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.666, allocations: 204.7 kB / 0.8259 GB, free: 84.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006708/1.666, allocations: 186.7 kB / 0.8261 GB, free: 84.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/1.667, allocations: 80.12 kB / 0.8262 GB, free: 84.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004149/1.671, allocations: 2.554 MB / 0.8287 GB, free: 83.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.671, allocations: 0 / 0.8287 GB, free: 83.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007117/1.678, allocations: 1.377 MB / 0.83 GB, free: 83.75 MB / 442.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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 181 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001237/1.679, allocations: 401.5 kB / 0.8304 GB, free: 83.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01474/1.694, allocations: 8.699 MB / 0.8389 GB, free: 80.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.694, allocations: 0 / 0.8389 GB, free: 80.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005872/1.7, allocations: 3.947 MB / 0.8427 GB, free: 78.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.702, allocations: 423.8 kB / 0.8432 GB, free: 78.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.718, allocations: 10.08 MB / 0.853 GB, free: 74.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/1.721, allocations: 3.664 MB / 0.8566 GB, free: 73.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005108/1.726, allocations: 2.141 MB / 0.8587 GB, free: 72.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009813/1.727, allocations: 273.8 kB / 0.8589 GB, free: 72.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/1.727, allocations: 3.172 kB / 0.8589 GB, free: 72.27 MB / 442.7 MB Notification: Performance of Templates: time 0.09255/1.82, allocations: 60 MB / 0.9175 GB, free: 21.04 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)