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.001033/0.001034, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001848/0.001848, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4058/0.4058, allocations: 40 MB / 310.4 MB, free: 9.953 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.0006261/0.0006261, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1267, allocations: 57.95 MB / 436.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01345/0.1402, allocations: 13.03 MB / 449.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009408/0.1497, allocations: 4.182 MB / 454 MB, free: 1.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.1524, allocations: 55.81 kB / 454 MB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.1543, allocations: 0.6104 MB / 454.7 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2764/0.4307, allocations: 2.146 MB / 456.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.4323, allocations: 453.7 kB / 457.2 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003775/0.4361, allocations: 2.767 MB / 460 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.4381, allocations: 1.401 MB / 461.4 MB, free: 34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.4392, allocations: 0.7159 MB / 462.1 MB, free: 34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.4406, allocations: 1.167 MB / 463.3 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.4408, allocations: 78.81 kB / 463.4 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.4423, allocations: 0.7828 MB / 464.2 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009909/0.4433, allocations: 0.9581 MB / 465.1 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.4438, allocations: 0.4887 MB / 465.6 MB, free: 33.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.4468, allocations: 3.026 MB / 468.6 MB, free: 33.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4468, allocations: 4 kB / 468.6 MB, free: 33.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4468, allocations: 0 / 468.6 MB, free: 33.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-05/0.4469, allocations: 0 / 468.6 MB, free: 33.33 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.004441/0.4513, allocations: 2.501 MB / 471.1 MB, free: 32.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.4514, allocations: 9.906 kB / 471.1 MB, free: 32.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.4566, allocations: 1.692 MB / 472.8 MB, free: 31.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.4589, allocations: 1.359 MB / 474.2 MB, free: 31.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.745e-05/0.459, allocations: 129.4 kB / 474.3 MB, free: 31.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.4594, allocations: 165 kB / 474.5 MB, free: 31.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008404/0.4678, allocations: 6.445 MB / 480.9 MB, free: 29.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.955e-05/0.4679, allocations: 26.53 kB / 481 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.4681, allocations: 87.25 kB / 481 MB, free: 29.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/0.4704, allocations: 1.443 MB / 482.5 MB, free: 29.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4823, allocations: 5.712 MB / 488.2 MB, free: 29.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/0.5196, allocations: 26.79 MB / 0.5029 GB, free: 26.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/0.525, allocations: 2.128 MB / 0.505 GB, free: 25.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.5266, allocations: 1.04 MB / 0.506 GB, free: 24.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.5268, allocations: 183.4 kB / 0.5062 GB, free: 24.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5269, allocations: 47.42 kB / 0.5062 GB, free: 24.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 3.646e-06/0.5269, allocations: 0 / 0.5062 GB, free: 24.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.01628/0.5432, allocations: 6.357 MB / 0.5124 GB, free: 20.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.5433, allocations: 142.1 kB / 0.5126 GB, free: 20.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.5471, allocations: 2.892 MB / 0.5154 GB, free: 19.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.5473, allocations: 42.45 kB / 0.5154 GB, free: 19.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.5484, allocations: 2.106 MB / 0.5175 GB, free: 17.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.5489, allocations: 456.6 kB / 0.5179 GB, free: 16.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.549, allocations: 84 kB / 0.518 GB, free: 16.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.5493, allocations: 0.492 MB / 0.5185 GB, free: 16.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.5513, allocations: 1.414 MB / 0.5199 GB, free: 14.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.5554, allocations: 4.279 MB / 0.524 GB, free: 9.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.5591, allocations: 2.405 MB / 0.5264 GB, free: 6.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-05/0.5592, allocations: 35.95 kB / 0.5264 GB, free: 6.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009819/0.569, allocations: 5.461 MB / 0.5318 GB, free: 1.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/0.5691, allocations: 55.92 kB / 0.5318 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/0.5693, allocations: 104.1 kB / 0.5319 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.5694, allocations: 148 kB / 0.5321 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004725/0.5742, allocations: 1.228 MB / 0.5333 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001506/0.5744, allocations: 195.2 kB / 0.5334 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003329/0.5777, allocations: 248.2 kB / 0.5337 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/0.5783, allocations: 280 kB / 0.5339 GB, free: 14.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0026/0.5809, allocations: 1.397 MB / 0.5353 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005989/0.5815, allocations: 240.9 kB / 0.5355 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.5835, allocations: 1.235 MB / 0.5367 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-05/0.5836, allocations: 16 kB / 0.5368 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/0.5836, allocations: 4 kB / 0.5368 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.5836, allocations: 7.969 kB / 0.5368 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008755/0.5924, allocations: 4.555 MB / 0.5412 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5925, allocations: 8 kB / 0.5412 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.5942, allocations: 359.9 kB / 0.5416 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.373e-05/0.5943, allocations: 8 kB / 0.5416 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.5943, allocations: 28 kB / 0.5416 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-05/0.5944, allocations: 15.92 kB / 0.5416 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.5944, allocations: 4 kB / 0.5416 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.5973, allocations: 2.162 MB / 0.5437 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.5988, allocations: 457.8 kB / 0.5442 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.5991, allocations: 24 kB / 0.5442 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009604/0.6001, allocations: 64.88 kB / 0.5443 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6002, allocations: 67.81 kB / 0.5443 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/0.6003, allocations: 32 kB / 0.5444 GB, free: 4.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003653/0.604, allocations: 1.815 MB / 0.5461 GB, free: 2.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.604, allocations: 4 kB / 0.5461 GB, free: 2.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006049/0.6101, allocations: 0.6261 MB / 0.5467 GB, free: 1.668 MB / 414.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 (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.0008242/0.6109, allocations: 162.4 kB / 0.5469 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008716/0.6197, allocations: 3.233 MB / 0.5501 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.6197, allocations: 0 / 0.5501 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.6211, allocations: 0.7904 MB / 0.5508 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004108/0.6252, allocations: 276 kB / 0.5511 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.6399, allocations: 6.553 MB / 0.5575 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003388/0.6433, allocations: 2.219 MB / 0.5597 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004499/0.6479, allocations: 1.466 MB / 0.5611 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000889/0.6488, allocations: 171.4 kB / 0.5612 GB, free: 2.711 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6488, allocations: 4 kB / 0.5613 GB, free: 2.707 MB / 430.1 MB Notification: Performance of Templates: time 0.05015/0.6989, allocations: 20.54 MB / 0.5813 GB, free: 14.27 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestMove.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: