Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01205/0.01205, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001931/0.001931, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.631/1.631, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3524/0.3524, allocations: 38 MB / 307.9 MB, free: 10.17 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.1. 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.001556/0.001556, allocations: 68.56 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3583, allocations: 56.46 MB / 489.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009133/0.3674, allocations: 7.523 MB / 497 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008057/0.3755, allocations: 3.348 MB / 0.4886 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.3778, allocations: 32.81 kB / 0.4886 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.38, allocations: 0.8051 MB / 0.4894 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.3853, allocations: 1.323 MB / 0.4907 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3873, allocations: 0.5285 MB / 0.4912 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006147/0.3935, allocations: 2.587 MB / 0.4937 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.3958, allocations: 1.256 MB / 0.495 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.3978, allocations: 0.7862 MB / 0.4957 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.3996, allocations: 1.132 MB / 0.4968 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004611/0.4001, allocations: 140.8 kB / 0.497 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.4023, allocations: 0.9398 MB / 0.4979 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.4035, allocations: 1.02 MB / 0.4989 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.405, allocations: 1.228 MB / 0.5001 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.4108, allocations: 4.069 MB / 0.5041 GB, free: 4.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4109, allocations: 4 kB / 0.5041 GB, free: 4.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4109, allocations: 0 / 0.5041 GB, free: 4.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001475/0.411, allocations: 0 / 0.5041 GB, free: 4.363 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.007585/0.4186, allocations: 2.952 MB / 0.5069 GB, free: 2.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.4187, allocations: 14.11 kB / 0.507 GB, free: 2.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/0.425, allocations: 1.646 MB / 0.5086 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.4287, allocations: 1.415 MB / 0.5099 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.4289, allocations: 122.4 kB / 0.5101 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004013/0.4293, allocations: 169 kB / 0.5102 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.4411, allocations: 6.461 MB / 0.5165 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-05/0.4412, allocations: 31.73 kB / 0.5166 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.4415, allocations: 83.89 kB / 0.5166 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.4441, allocations: 1.437 MB / 0.518 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.4552, allocations: 5.732 MB / 0.5236 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03664/0.4919, allocations: 26.72 MB / 0.5497 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.4968, allocations: 2.142 MB / 0.5518 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.4987, allocations: 1.05 MB / 0.5528 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.499, allocations: 178.5 kB / 0.553 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.499, allocations: 42.83 kB / 0.5531 GB, free: 4.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 9.047e-06/0.4991, allocations: 7.984 kB / 0.5531 GB, free: 4.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.0183/0.5174, allocations: 6.384 MB / 0.5593 GB, free: 14.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.5175, allocations: 140.9 kB / 0.5594 GB, free: 14.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.5219, allocations: 2.902 MB / 0.5623 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.5221, allocations: 41.7 kB / 0.5623 GB, free: 11.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001674/0.5238, allocations: 2.114 MB / 0.5644 GB, free: 9.207 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000528/0.5243, allocations: 462.2 kB / 0.5648 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.5256, allocations: 0.8928 MB / 0.5657 GB, free: 7.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5258, allocations: 301.1 kB / 0.566 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.5284, allocations: 1.434 MB / 0.5674 GB, free: 6.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005042/0.5334, allocations: 4.295 MB / 0.5716 GB, free: 368 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00768/0.5411, allocations: 6.208 MB / 0.5776 GB, free: 8.711 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.812e-05/0.5412, allocations: 28 kB / 0.5777 GB, free: 8.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01112/0.5524, allocations: 5.499 MB / 0.583 GB, free: 3.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.5525, allocations: 48.97 kB / 0.5831 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.5526, allocations: 104 kB / 0.5832 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/0.5528, allocations: 132 kB / 0.5833 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.5571, allocations: 1.236 MB / 0.5845 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002096/0.5573, allocations: 203.2 kB / 0.5847 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/0.5616, allocations: 235.6 kB / 0.5849 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005217/0.5621, allocations: 288 kB / 0.5852 GB, free: 0.9492 MB / 462.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.00252/0.5646, allocations: 1.381 MB / 0.5865 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000627/0.5653, allocations: 241 kB / 0.5868 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.5675, allocations: 1.249 MB / 0.588 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/0.5676, allocations: 15.44 kB / 0.588 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5676, allocations: 7.938 kB / 0.588 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.5676, allocations: 3.984 kB / 0.588 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0081/0.5757, allocations: 4.562 MB / 0.5925 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.5757, allocations: 4 kB / 0.5925 GB, free: 9.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.5776, allocations: 367.3 kB / 0.5928 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.5776, allocations: 8 kB / 0.5928 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.5777, allocations: 20.75 kB / 0.5929 GB, free: 8.965 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.5777, allocations: 15.92 kB / 0.5929 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5777, allocations: 15.94 kB / 0.5929 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.5805, allocations: 2.17 MB / 0.595 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.5817, allocations: 453.7 kB / 0.5954 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.5819, allocations: 27.98 kB / 0.5955 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.5828, allocations: 59.92 kB / 0.5955 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.583, allocations: 67.8 kB / 0.5956 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5831, allocations: 35.98 kB / 0.5956 GB, free: 6.051 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002921/0.586, allocations: 1.835 MB / 0.5974 GB, free: 4.211 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5861, allocations: 0 / 0.5974 GB, free: 4.211 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00372/0.5898, allocations: 0.625 MB / 0.598 GB, free: 3.586 MB / 478.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.0004399/0.5902, allocations: 162.9 kB / 0.5982 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00584/0.5961, allocations: 3.278 MB / 0.6014 GB, free: 164 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5961, allocations: 0 / 0.6014 GB, free: 164 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.5972, allocations: 0.7884 MB / 0.6022 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.5992, allocations: 263 kB / 0.6024 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.6101, allocations: 5.583 MB / 0.6079 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.6126, allocations: 2.218 MB / 0.61 GB, free: 7.191 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003857/0.6165, allocations: 1.463 MB / 0.6114 GB, free: 5.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/0.6172, allocations: 171.4 kB / 0.6116 GB, free: 5.555 MB / 494.1 MB Notification: Performance of SimCode: time 1.803e-06/0.6172, allocations: 4 kB / 0.6116 GB, free: 5.551 MB / 494.1 MB Notification: Performance of Templates: time 0.04624/0.6634, allocations: 19.64 MB / 0.6308 GB, free: 1.906 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.pipe 2>&1)