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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006608/0.006609, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2072/0.2072, allocations: 39.96 MB / 309.9 MB, free: 4.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 69.62 kB / 435.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1199, allocations: 56.88 MB / 492.6 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008707/0.1287, allocations: 7.523 MB / 0.4884 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006521/0.1352, allocations: 3.349 MB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.1364, allocations: 31.94 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.1383, allocations: 0.7975 MB / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.1419, allocations: 1.323 MB / 0.4938 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1436, allocations: 0.5379 MB / 0.4943 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004096/0.1477, allocations: 2.59 MB / 0.4969 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/0.1502, allocations: 1.245 MB / 0.4981 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.1523, allocations: 0.7822 MB / 0.4988 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.1551, allocations: 1.137 MB / 0.4999 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000638/0.1558, allocations: 140 kB / 0.5001 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.1581, allocations: 0.9399 MB / 0.501 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.1599, allocations: 1.021 MB / 0.502 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.162, allocations: 1.23 MB / 0.5032 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005224/0.1673, allocations: 4.052 MB / 0.5072 GB, free: 7.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1673, allocations: 3.984 kB / 0.5072 GB, free: 7.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1673, allocations: 0 / 0.5072 GB, free: 7.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.199e-05/0.1674, allocations: 11.94 kB / 0.5072 GB, free: 7.961 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005011/0.1724, allocations: 2.957 MB / 0.5101 GB, free: 4.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1725, allocations: 19.83 kB / 0.5101 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005906/0.1784, allocations: 1.651 MB / 0.5117 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.1816, allocations: 1.406 MB / 0.5131 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.1818, allocations: 127.4 kB / 0.5132 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.1822, allocations: 160 kB / 0.5133 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2999/0.482, allocations: 6.453 MB / 0.5196 GB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.786e-05/0.4822, allocations: 35.98 kB / 0.5197 GB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.4825, allocations: 85.33 kB / 0.5198 GB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003272/0.4858, allocations: 1.435 MB / 0.5212 GB, free: 16.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.5005, allocations: 5.724 MB / 0.5267 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03547/0.536, allocations: 26.73 MB / 0.5528 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004283/0.5404, allocations: 2.158 MB / 0.555 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.5416, allocations: 1.04 MB / 0.556 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.5419, allocations: 174.6 kB / 0.5561 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.5419, allocations: 48.98 kB / 0.5562 GB, free: 10.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.626e-06/0.5419, allocations: 0 / 0.5562 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01537/0.5573, allocations: 6.393 MB / 0.5624 GB, free: 5.082 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.5574, allocations: 139.3 kB / 0.5626 GB, free: 4.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.5611, allocations: 2.908 MB / 0.5654 GB, free: 2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.5612, allocations: 44.36 kB / 0.5654 GB, free: 1.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.5628, allocations: 2.105 MB / 0.5675 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.5632, allocations: 456.8 kB / 0.5679 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.5643, allocations: 0.9005 MB / 0.5688 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5644, allocations: 302.8 kB / 0.5691 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.5666, allocations: 1.426 MB / 0.5705 GB, free: 12.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.5706, allocations: 4.3 MB / 0.5747 GB, free: 7.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008352/0.579, allocations: 6.199 MB / 0.5807 GB, free: 15.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.5791, allocations: 28 kB / 0.5808 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01153/0.5907, allocations: 5.513 MB / 0.5862 GB, free: 10.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-05/0.5908, allocations: 48 kB / 0.5862 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.591, allocations: 107.9 kB / 0.5863 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.5911, allocations: 136.1 kB / 0.5864 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00451/0.5956, allocations: 1.224 MB / 0.5876 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001657/0.5958, allocations: 195.2 kB / 0.5878 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.5992, allocations: 247.5 kB / 0.5881 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005727/0.5998, allocations: 280 kB / 0.5883 GB, free: 8.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002491/0.6023, allocations: 1.39 MB / 0.5897 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000511/0.6028, allocations: 240.8 kB / 0.5899 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.605, allocations: 1.245 MB / 0.5911 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.605, allocations: 12 kB / 0.5911 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.605, allocations: 4 kB / 0.5911 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.605, allocations: 3.984 kB / 0.5911 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/0.613, allocations: 4.564 MB / 0.5956 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.6131, allocations: 4 kB / 0.5956 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002026/0.6151, allocations: 365.2 kB / 0.596 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.6151, allocations: 10.08 kB / 0.596 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.6152, allocations: 27.67 kB / 0.596 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.6152, allocations: 15.94 kB / 0.596 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.6152, allocations: 11.94 kB / 0.596 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.6181, allocations: 2.162 MB / 0.5981 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.6192, allocations: 457.7 kB / 0.5986 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.6195, allocations: 24 kB / 0.5986 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/0.6205, allocations: 55.92 kB / 0.5986 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.6207, allocations: 75.73 kB / 0.5987 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/0.6208, allocations: 32 kB / 0.5987 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003107/0.6239, allocations: 1.831 MB / 0.6005 GB, free: 11.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6239, allocations: 0 / 0.6005 GB, free: 11.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003824/0.6277, allocations: 0.6329 MB / 0.6011 GB, free: 10.7 MB / 462.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003819/0.6281, allocations: 168.6 kB / 0.6013 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005746/0.6339, allocations: 3.275 MB / 0.6045 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.6339, allocations: 0 / 0.6045 GB, free: 7.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.6352, allocations: 0.7883 MB / 0.6053 GB, free: 6.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.6371, allocations: 272.9 kB / 0.6055 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.6488, allocations: 5.577 MB / 0.611 GB, free: 0.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00249/0.6514, allocations: 2.218 MB / 0.6131 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003692/0.6551, allocations: 1.464 MB / 0.6146 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.6557, allocations: 175.4 kB / 0.6147 GB, free: 12.69 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6557, allocations: 4 kB / 0.6147 GB, free: 12.69 MB / 478.1 MB Notification: Performance of Templates: time 0.03935/0.6951, allocations: 19.64 MB / 0.6339 GB, free: 9.148 MB / 494.1 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)