Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009665/0.009665, allocations: 174.8 kB / 15.12 MB, free: 5.984 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.58/1.58, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001752/0.001752, allocations: 124.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.218/0.218, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 15.06 kB / 406.2 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5937, allocations: 95.12 MB / 0.5431 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.594, allocations: 71.67 kB / 0.5432 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1385/0.7325, allocations: 57.88 MB / 0.5997 GB, free: 4.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.7326, allocations: 3.875 kB / 0.5997 GB, free: 4.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.825e-05/0.7327, allocations: 46.75 kB / 0.5997 GB, free: 4.84 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.008781/0.7415, allocations: 2.707 MB / 0.6024 GB, free: 3.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.7416, allocations: 11.59 kB / 0.6024 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008594/0.7502, allocations: 1.981 MB / 0.6043 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.7607, allocations: 3.368 MB / 0.6076 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.7609, allocations: 181.2 kB / 0.6078 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.7621, allocations: 238.3 kB / 0.608 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.7749, allocations: 6.888 MB / 0.6147 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.7751, allocations: 43.53 kB / 0.6148 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/0.7755, allocations: 126.5 kB / 0.6149 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00102/0.7765, allocations: 0.7159 MB / 0.6156 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.7882, allocations: 5.886 MB / 0.6213 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04657/0.8349, allocations: 33.59 MB / 0.6542 GB, free: 1.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.8393, allocations: 2.11 MB / 0.6562 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.8395, allocations: 178.4 kB / 0.6564 GB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.8396, allocations: 46.83 kB / 0.6564 GB, free: 15.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 4.328e-06/0.8396, allocations: 0 / 0.6564 GB, free: 15.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.01537/0.855, allocations: 6.37 MB / 0.6626 GB, free: 8.691 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.8551, allocations: 141 kB / 0.6628 GB, free: 8.523 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004504/0.8597, allocations: 2.599 MB / 0.6653 GB, free: 5.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.8598, allocations: 37.7 kB / 0.6654 GB, free: 5.871 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.8615, allocations: 2.097 MB / 0.6674 GB, free: 3.777 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/0.862, allocations: 465.5 kB / 0.6678 GB, free: 3.328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.8621, allocations: 88 kB / 0.6679 GB, free: 3.242 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003318/0.8625, allocations: 499.6 kB / 0.6684 GB, free: 2.746 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.8649, allocations: 1.41 MB / 0.6698 GB, free: 1.328 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/0.8691, allocations: 4.243 MB / 0.6739 GB, free: 11.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.8728, allocations: 2.388 MB / 0.6763 GB, free: 9.258 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.487e-05/0.8729, allocations: 28 kB / 0.6763 GB, free: 9.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.01187/0.8848, allocations: 5.456 MB / 0.6816 GB, free: 3.766 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.8849, allocations: 55.89 kB / 0.6817 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.885, allocations: 100 kB / 0.6818 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.8852, allocations: 148 kB / 0.6819 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/0.8889, allocations: 1.076 MB / 0.683 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001643/0.8891, allocations: 199.5 kB / 0.6831 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/0.8926, allocations: 283.5 kB / 0.6834 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/0.8931, allocations: 283.6 kB / 0.6837 GB, free: 1.645 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002718/0.8958, allocations: 1.379 MB / 0.685 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006192/0.8965, allocations: 236.9 kB / 0.6853 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.8986, allocations: 1.222 MB / 0.6865 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.8986, allocations: 15.98 kB / 0.6865 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.8987, allocations: 4 kB / 0.6865 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.8987, allocations: 3.984 kB / 0.6865 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0088/0.9075, allocations: 4.396 MB / 0.6908 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.9075, allocations: 7.984 kB / 0.6908 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.9085, allocations: 211.7 kB / 0.691 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/0.9085, allocations: 8 kB / 0.691 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.16e-05/0.9086, allocations: 24.52 kB / 0.691 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.9086, allocations: 11.94 kB / 0.691 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.9086, allocations: 11.94 kB / 0.691 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.912, allocations: 2.588 MB / 0.6936 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/0.9138, allocations: 465.7 kB / 0.694 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/0.9141, allocations: 19.98 kB / 0.694 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.9151, allocations: 75.86 kB / 0.6941 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9153, allocations: 71.81 kB / 0.6942 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/0.9154, allocations: 39.94 kB / 0.6942 GB, free: 6.609 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003618/0.919, allocations: 1.83 MB / 0.696 GB, free: 4.773 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9191, allocations: 0 / 0.696 GB, free: 4.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003843/0.9229, allocations: 0.6288 MB / 0.6966 GB, free: 4.145 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003661/0.9233, allocations: 162.6 kB / 0.6968 GB, free: 3.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005585/0.9289, allocations: 3.229 MB / 0.6999 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.9289, allocations: 0 / 0.6999 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.9301, allocations: 0.7814 MB / 0.7007 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.9321, allocations: 251 kB / 0.7009 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.9457, allocations: 6.545 MB / 0.7073 GB, free: 9.109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.9482, allocations: 2.265 MB / 0.7095 GB, free: 6.816 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003905/0.9522, allocations: 1.451 MB / 0.7109 GB, free: 5.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/0.9529, allocations: 179.3 kB / 0.7111 GB, free: 5.184 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.9529, allocations: 0 / 0.7111 GB, free: 5.184 MB / 490.7 MB Notification: Performance of Templates: time 0.3106/1.263, allocations: 20.51 MB / 0.7311 GB, free: 135.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.pipe 2>&1)