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.00175/0.001751, allocations: 181.8 kB / 12.74 MB, free: 2.582 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.887/1.887, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001757/0.001758, allocations: 110.8 kB / 252.6 MB, free: 4.785 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.2323/0.2323, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.718e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 54.85 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4307/0.5476, allocations: 95.03 MB / 0.5373 GB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.548, allocations: 70.47 kB / 0.5373 GB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/0.7041, allocations: 57.9 MB / 0.5939 GB, free: 10.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7041, allocations: 0 / 0.5939 GB, free: 10.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.7043, allocations: 52 kB / 0.5939 GB, free: 10.11 MB / 410.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.007931/0.7122, allocations: 2.586 MB / 0.5964 GB, free: 7.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.7123, allocations: 8.031 kB / 0.5965 GB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009226/0.7215, allocations: 1.971 MB / 0.5984 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009788/0.7313, allocations: 3.341 MB / 0.6016 GB, free: 2.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.7316, allocations: 180.8 kB / 0.6018 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.7326, allocations: 239.9 kB / 0.602 GB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.7468, allocations: 6.825 MB / 0.6087 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.747, allocations: 43.53 kB / 0.6087 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004332/0.7474, allocations: 123.9 kB / 0.6089 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/0.7486, allocations: 0.7111 MB / 0.6096 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.7599, allocations: 5.744 MB / 0.6152 GB, free: 3.949 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03923/0.7992, allocations: 33.6 MB / 0.648 GB, free: 1.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/0.8035, allocations: 2.09 MB / 0.65 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.8049, allocations: 1.015 MB / 0.651 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.8051, allocations: 178.5 kB / 0.6512 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/0.8052, allocations: 46.83 kB / 0.6512 GB, free: 13.65 MB / 474.7 MB Notification: Performance of pre-optimization done (n=100): time 4.308e-06/0.8052, allocations: 0 / 0.6512 GB, free: 13.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.01345/0.8186, allocations: 5.156 MB / 0.6563 GB, free: 8.461 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.8188, allocations: 137 kB / 0.6564 GB, free: 8.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.8227, allocations: 2.536 MB / 0.6589 GB, free: 5.746 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000217/0.8229, allocations: 41.7 kB / 0.6589 GB, free: 5.699 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.8244, allocations: 2.102 MB / 0.661 GB, free: 3.566 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/0.8249, allocations: 462.3 kB / 0.6614 GB, free: 3.109 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.8251, allocations: 88 kB / 0.6615 GB, free: 3.023 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003116/0.8254, allocations: 495.7 kB / 0.662 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/0.8275, allocations: 1.356 MB / 0.6633 GB, free: 1.168 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2911/1.119, allocations: 4.178 MB / 0.6674 GB, free: 125.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/1.122, allocations: 2.354 MB / 0.6697 GB, free: 125.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.674e-05/1.122, allocations: 28.72 kB / 0.6697 GB, free: 125.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.009036/1.131, allocations: 5.325 MB / 0.6749 GB, free: 125.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/1.131, allocations: 48.3 kB / 0.6749 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/1.131, allocations: 101.2 kB / 0.675 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/1.132, allocations: 150.6 kB / 0.6752 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/1.135, allocations: 1.078 MB / 0.6762 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002817/1.135, allocations: 198.1 kB / 0.6764 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/1.139, allocations: 287 kB / 0.6767 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005049/1.14, allocations: 280.6 kB / 0.677 GB, free: 125.1 MB / 474.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 () * 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.0005967/1.14, allocations: 450.2 kB / 0.6774 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004695/1.141, allocations: 244 kB / 0.6776 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/1.143, allocations: 1.212 MB / 0.6788 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/1.143, allocations: 18.62 kB / 0.6788 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.143, allocations: 0 / 0.6788 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.143, allocations: 7.844 kB / 0.6788 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/1.152, allocations: 4.394 MB / 0.6831 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.152, allocations: 3.438 kB / 0.6831 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/1.153, allocations: 211.8 kB / 0.6833 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/1.153, allocations: 14 kB / 0.6833 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/1.153, allocations: 23.23 kB / 0.6834 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/1.153, allocations: 17.41 kB / 0.6834 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.153, allocations: 8.453 kB / 0.6834 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/1.156, allocations: 2.57 MB / 0.6859 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000929/1.157, allocations: 465.8 kB / 0.6863 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/1.157, allocations: 22.58 kB / 0.6864 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/1.158, allocations: 74.33 kB / 0.6864 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.158, allocations: 67.14 kB / 0.6865 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/1.158, allocations: 36.47 kB / 0.6865 GB, free: 122.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002746/1.161, allocations: 1.778 MB / 0.6883 GB, free: 122.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.161, allocations: 0 / 0.6883 GB, free: 122.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004076/1.165, allocations: 0.6282 MB / 0.6889 GB, free: 122.8 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.0004579/1.165, allocations: 163.3 kB / 0.689 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/1.17, allocations: 3.155 MB / 0.6921 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.17, allocations: 1.938 kB / 0.6921 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009/1.171, allocations: 0.7747 MB / 0.6929 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/1.172, allocations: 242.6 kB / 0.6931 GB, free: 122.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/1.181, allocations: 4.614 MB / 0.6976 GB, free: 120.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/1.182, allocations: 2.262 MB / 0.6998 GB, free: 119.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003161/1.186, allocations: 1.452 MB / 0.7012 GB, free: 119.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/1.186, allocations: 171.3 kB / 0.7014 GB, free: 119.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.744e-06/1.186, allocations: 3.719 kB / 0.7014 GB, free: 119.4 MB / 474.7 MB Notification: Performance of Templates: time 0.03664/1.223, allocations: 20.54 MB / 0.7215 GB, free: 116.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)