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.001644/0.001644, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001996/0.001996, allocations: 192.6 kB / 16.14 MB, free: 6.703 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.869/1.869, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3843/0.3843, allocations: 39.93 MB / 309.3 MB, free: 9.258 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.002117/0.002117, allocations: 69.94 kB / 376.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1849, allocations: 56.88 MB / 433.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01855/0.2035, allocations: 14.5 MB / 448.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01306/0.2166, allocations: 4.558 MB / 452.9 MB, free: 1.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004396/0.2211, allocations: 55.88 kB / 452.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.2238, allocations: 0.7593 MB / 453.7 MB, free: 268 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3149/0.5387, allocations: 1.221 MB / 454.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.5401, allocations: 0.4947 MB / 455.4 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.5443, allocations: 3.491 MB / 458.9 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.5458, allocations: 1.215 MB / 460.1 MB, free: 35.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009816/0.5468, allocations: 0.6885 MB / 460.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.5483, allocations: 1.229 MB / 462 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.5486, allocations: 98.09 kB / 462.1 MB, free: 35.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.5506, allocations: 0.9545 MB / 463.1 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.5516, allocations: 1.003 MB / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.5527, allocations: 1.205 MB / 465.3 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.5572, allocations: 3.863 MB / 469.1 MB, free: 33.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5572, allocations: 4 kB / 469.1 MB, free: 33.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5572, allocations: 0 / 469.1 MB, free: 33.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.735e-05/0.5573, allocations: 0 / 469.1 MB, free: 33.94 MB / 382.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.005294/0.5626, allocations: 2.97 MB / 472.1 MB, free: 32.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.5627, allocations: 9.312 kB / 472.1 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.5679, allocations: 1.64 MB / 473.8 MB, free: 32.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.5702, allocations: 1.395 MB / 475.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.5703, allocations: 119.2 kB / 475.3 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.5707, allocations: 166.4 kB / 475.4 MB, free: 31.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008057/0.5787, allocations: 6.453 MB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-05/0.5788, allocations: 34.44 kB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.5791, allocations: 86.94 kB / 482 MB, free: 28.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002471/0.5816, allocations: 1.438 MB / 483.4 MB, free: 28.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.5933, allocations: 5.732 MB / 489.2 MB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/0.6276, allocations: 26.8 MB / 0.5039 GB, free: 22.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/0.6325, allocations: 2.15 MB / 0.506 GB, free: 21.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.6342, allocations: 1.04 MB / 0.507 GB, free: 20.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.6345, allocations: 181.3 kB / 0.5072 GB, free: 20.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.6345, allocations: 48.08 kB / 0.5072 GB, free: 20.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.238e-06/0.6345, allocations: 0 / 0.5072 GB, free: 20.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01789/0.6524, allocations: 6.383 MB / 0.5134 GB, free: 17.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.6526, allocations: 142.9 kB / 0.5136 GB, free: 17.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00428/0.6569, allocations: 2.912 MB / 0.5164 GB, free: 14.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.6571, allocations: 41.7 kB / 0.5165 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.6583, allocations: 2.103 MB / 0.5185 GB, free: 12.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005462/0.6588, allocations: 461.3 kB / 0.519 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/0.6602, allocations: 0.8966 MB / 0.5198 GB, free: 11.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6603, allocations: 301.1 kB / 0.5201 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002513/0.6628, allocations: 1.43 MB / 0.5215 GB, free: 9.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005603/0.6684, allocations: 4.297 MB / 0.5257 GB, free: 3.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008248/0.6767, allocations: 6.206 MB / 0.5318 GB, free: 12.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.54e-05/0.6768, allocations: 28 kB / 0.5318 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01027/0.6871, allocations: 5.518 MB / 0.5372 GB, free: 6.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/0.6872, allocations: 48 kB / 0.5372 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.6873, allocations: 100 kB / 0.5373 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.6875, allocations: 136 kB / 0.5375 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/0.6914, allocations: 1.228 MB / 0.5387 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001771/0.6916, allocations: 199.2 kB / 0.5388 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.6947, allocations: 251.7 kB / 0.5391 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/0.6951, allocations: 281.9 kB / 0.5394 GB, free: 4.371 MB / 414.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.002326/0.6974, allocations: 1.383 MB / 0.5407 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/0.698, allocations: 244.9 kB / 0.5409 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.7002, allocations: 1.235 MB / 0.5421 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.7003, allocations: 20.84 kB / 0.5422 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.7003, allocations: 0 / 0.5422 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.7003, allocations: 7.922 kB / 0.5422 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007936/0.7083, allocations: 4.572 MB / 0.5466 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7083, allocations: 4.141 kB / 0.5466 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.71, allocations: 372.5 kB / 0.547 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.71, allocations: 11.98 kB / 0.547 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/0.7101, allocations: 23.27 kB / 0.547 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.7101, allocations: 12 kB / 0.547 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.7101, allocations: 15.69 kB / 0.5471 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.7128, allocations: 2.154 MB / 0.5492 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.7139, allocations: 465.7 kB / 0.5496 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.7142, allocations: 16 kB / 0.5496 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.7151, allocations: 60.73 kB / 0.5497 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.7153, allocations: 67.8 kB / 0.5497 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.7154, allocations: 41.09 kB / 0.5498 GB, free: 9.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003366/0.7188, allocations: 1.827 MB / 0.5516 GB, free: 7.668 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7188, allocations: 0 / 0.5516 GB, free: 7.668 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003799/0.7226, allocations: 0.6315 MB / 0.5522 GB, free: 7.039 MB / 430.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.0005138/0.7231, allocations: 157.5 kB / 0.5523 GB, free: 6.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005639/0.7288, allocations: 3.261 MB / 0.5555 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.7288, allocations: 4 kB / 0.5555 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.7299, allocations: 0.788 MB / 0.5563 GB, free: 2.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.7318, allocations: 272.4 kB / 0.5566 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/0.7417, allocations: 6.792 MB / 0.5632 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.744, allocations: 2.217 MB / 0.5653 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003682/0.7477, allocations: 1.469 MB / 0.5668 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.7482, allocations: 171.4 kB / 0.5669 GB, free: 7.824 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7483, allocations: 0 / 0.5669 GB, free: 7.824 MB / 446.1 MB Notification: Performance of Templates: time 0.04233/0.7906, allocations: 21.2 MB / 0.5877 GB, free: 2.727 MB / 462.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)