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.00116/0.00116, allocations: 182.8 kB / 7.652 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.599/1.599, 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.001807/0.001807, allocations: 114.2 kB / 247.4 MB, free: 6.199 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.2861/0.2861, allocations: 39.95 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.072e-05/1.074e-05, allocations: 7.984 kB / 393.3 MB, free: 75.56 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 54.87 MB / 448.2 MB, free: 20.68 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4641, allocations: 94.36 MB / 0.5298 GB, free: 5.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4644, allocations: 71.27 kB / 0.5299 GB, free: 5.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2008/0.6652, allocations: 57.01 MB / 0.5856 GB, free: 4.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6652, allocations: 0 / 0.5856 GB, free: 4.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001104/0.6653, allocations: 47.94 kB / 0.5856 GB, free: 4.781 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: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.0066/0.672, allocations: 2.591 MB / 0.5881 GB, free: 2.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.672, allocations: 11.97 kB / 0.5881 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008902/0.6809, allocations: 1.974 MB / 0.5901 GB, free: 208 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009653/0.6906, allocations: 3.342 MB / 0.5933 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.6909, allocations: 80 kB / 0.5934 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.6922, allocations: 136 kB / 0.5935 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007985/0.7002, allocations: 3.952 MB / 0.5974 GB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.7128, allocations: 6.256 MB / 0.6035 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001447/0.7129, allocations: 47.53 kB / 0.6036 GB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007302/0.7137, allocations: 24 kB / 0.6036 GB, free: 1.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.7148, allocations: 0.7189 MB / 0.6043 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.7476, allocations: 32.14 MB / 0.6357 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.7502, allocations: 1.944 MB / 0.6376 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.7518, allocations: 1.002 MB / 0.6385 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.7521, allocations: 174.5 kB / 0.6387 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.7522, allocations: 50.81 kB / 0.6388 GB, free: 12.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=100): time 4.748e-06/0.7522, allocations: 0 / 0.6388 GB, free: 12.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=112): time 0.01291/0.7651, allocations: 6.289 MB / 0.6449 GB, free: 5.938 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.7652, allocations: 140.9 kB / 0.645 GB, free: 5.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.7689, allocations: 2.168 MB / 0.6472 GB, free: 3.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.7691, allocations: 29.7 kB / 0.6472 GB, free: 3.543 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.7707, allocations: 2.159 MB / 0.6493 GB, free: 1.348 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004612/0.7712, allocations: 450.3 kB / 0.6497 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.7714, allocations: 0 / 0.6497 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003998/0.7718, allocations: 0.5439 MB / 0.6503 GB, free: 356 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.7738, allocations: 1.309 MB / 0.6515 GB, free: 15.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003993/0.7778, allocations: 4.253 MB / 0.6557 GB, free: 9.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.7816, allocations: 2.34 MB / 0.658 GB, free: 6.938 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.471e-05/0.7817, allocations: 28 kB / 0.658 GB, free: 6.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=596) (initialization): time 0.008774/0.7905, allocations: 4.869 MB / 0.6628 GB, free: 2.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.7906, allocations: 56.47 kB / 0.6628 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001435/0.7907, allocations: 108 kB / 0.6629 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.7909, allocations: 160 kB / 0.6631 GB, free: 1.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.7945, allocations: 1.123 MB / 0.6642 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/0.7947, allocations: 207.2 kB / 0.6644 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.798, allocations: 211.4 kB / 0.6646 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2302/1.028, allocations: 288.8 kB / 0.6648 GB, free: 128.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (572): * Single equations (assignments): 569 * 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.001278/1.03, allocations: 356.2 kB / 0.6652 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/1.03, allocations: 214.4 kB / 0.6654 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/1.032, allocations: 1.147 MB / 0.6665 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/1.032, allocations: 14.27 kB / 0.6665 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.032, allocations: 1.375 kB / 0.6665 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/1.032, allocations: 8.859 kB / 0.6665 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008303/1.041, allocations: 3.888 MB / 0.6703 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.041, allocations: 5.25 kB / 0.6703 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.042, allocations: 218.4 kB / 0.6705 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/1.042, allocations: 9.859 kB / 0.6705 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/1.042, allocations: 9.234 kB / 0.6705 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/1.042, allocations: 15.75 kB / 0.6706 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.042, allocations: 8.906 kB / 0.6706 GB, free: 127.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/1.045, allocations: 2.417 MB / 0.6729 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007058/1.045, allocations: 434.7 kB / 0.6733 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/1.046, allocations: 7.391 kB / 0.6734 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009249/1.046, allocations: 64.23 kB / 0.6734 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.047, allocations: 66.11 kB / 0.6735 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/1.047, allocations: 37.7 kB / 0.6735 GB, free: 126.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002068/1.049, allocations: 1.428 MB / 0.6749 GB, free: 126.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.049, allocations: 2.156 kB / 0.6749 GB, free: 126.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003128/1.052, allocations: 0.5292 MB / 0.6754 GB, free: 126.5 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 () * 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.0002968/1.052, allocations: 149.1 kB / 0.6756 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004588/1.057, allocations: 2.994 MB / 0.6785 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.057, allocations: 3.375 kB / 0.6785 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009315/1.058, allocations: 0.7561 MB / 0.6792 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/1.059, allocations: 211.8 kB / 0.6794 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007779/1.067, allocations: 4.537 MB / 0.6839 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.069, allocations: 2.261 MB / 0.6861 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003338/1.072, allocations: 1.495 MB / 0.6875 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/1.073, allocations: 161.4 kB / 0.6877 GB, free: 124.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.342e-06/1.073, allocations: 0 / 0.6877 GB, free: 124.6 MB / 474.7 MB Notification: Performance of Templates: time 0.02881/1.101, allocations: 17.82 MB / 0.7051 GB, free: 123.9 MB / 474.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)