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.0008397/0.0008401, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0008998/0.0008998, allocations: 172.7 kB / 15.95 MB, free: 208 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.424/1.424, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.325/0.325, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.0006351/0.0006352, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.138, allocations: 57.53 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01517/0.1533, allocations: 13.02 MB / 447 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009578/0.1629, allocations: 4.182 MB / 451.2 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.166, allocations: 59.88 kB / 451.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.1675, allocations: 0.6064 MB / 451.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.1725, allocations: 2.148 MB / 454 MB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.1737, allocations: 447.2 kB / 454.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2591/0.4328, allocations: 2.76 MB / 457.2 MB, free: 34.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.4352, allocations: 1.4 MB / 458.6 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4367, allocations: 0.7148 MB / 459.3 MB, free: 33.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.4382, allocations: 1.173 MB / 460.4 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.4384, allocations: 84.38 kB / 460.5 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.4402, allocations: 0.7803 MB / 461.3 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008721/0.4411, allocations: 0.9576 MB / 462.3 MB, free: 33.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.4416, allocations: 0.4963 MB / 462.8 MB, free: 33.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002953/0.4446, allocations: 3.011 MB / 465.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4446, allocations: 4.031 kB / 465.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4446, allocations: 2.062 kB / 465.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001234/0.4447, allocations: 0 / 465.8 MB, free: 33.73 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.004394/0.4491, allocations: 2.505 MB / 468.3 MB, free: 32.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4492, allocations: 11.66 kB / 468.3 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.4542, allocations: 1.69 MB / 470 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.4566, allocations: 1.367 MB / 471.4 MB, free: 31.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/0.4567, allocations: 125.6 kB / 471.5 MB, free: 31.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/0.457, allocations: 162.5 kB / 471.6 MB, free: 31.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/0.4649, allocations: 6.447 MB / 478.1 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-05/0.465, allocations: 32.62 kB / 478.1 MB, free: 30.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.4652, allocations: 84.03 kB / 478.2 MB, free: 30.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001949/0.4672, allocations: 1.443 MB / 479.6 MB, free: 30.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009765/0.477, allocations: 5.709 MB / 485.4 MB, free: 30.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03118/0.5082, allocations: 26.78 MB / 0.5001 GB, free: 27.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/0.5133, allocations: 2.126 MB / 0.5022 GB, free: 26.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.5149, allocations: 1.042 MB / 0.5032 GB, free: 26.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.5151, allocations: 172.6 kB / 0.5034 GB, free: 26.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.5151, allocations: 48.31 kB / 0.5034 GB, free: 26.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.9e-06/0.5151, allocations: 0 / 0.5034 GB, free: 26.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.0149/0.5301, allocations: 6.368 MB / 0.5097 GB, free: 23.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.5302, allocations: 137.8 kB / 0.5098 GB, free: 23.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/0.5338, allocations: 2.891 MB / 0.5126 GB, free: 21.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.5339, allocations: 44.8 kB / 0.5127 GB, free: 21.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.5348, allocations: 2.111 MB / 0.5147 GB, free: 19.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.5351, allocations: 450 kB / 0.5151 GB, free: 19.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.5353, allocations: 90.62 kB / 0.5152 GB, free: 19.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.5355, allocations: 0.491 MB / 0.5157 GB, free: 18.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5373, allocations: 1.406 MB / 0.5171 GB, free: 18.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/0.5402, allocations: 4.277 MB / 0.5213 GB, free: 13.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.543, allocations: 2.419 MB / 0.5236 GB, free: 11.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.543, allocations: 30.19 kB / 0.5237 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008452/0.5515, allocations: 5.47 MB / 0.529 GB, free: 5.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.5516, allocations: 48 kB / 0.529 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.5517, allocations: 104 kB / 0.5291 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.5519, allocations: 149 kB / 0.5293 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003821/0.5557, allocations: 1.228 MB / 0.5305 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002635/0.556, allocations: 203.8 kB / 0.5307 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.5593, allocations: 239.5 kB / 0.5309 GB, free: 3.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/0.5597, allocations: 280.7 kB / 0.5312 GB, free: 3.383 MB / 398.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.002525/0.5622, allocations: 1.393 MB / 0.5325 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/0.5628, allocations: 244.9 kB / 0.5328 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.565, allocations: 1.242 MB / 0.534 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.565, allocations: 12 kB / 0.534 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.5651, allocations: 0 / 0.534 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.5651, allocations: 7.984 kB / 0.534 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008135/0.5732, allocations: 4.553 MB / 0.5384 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5733, allocations: 4 kB / 0.5384 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.5749, allocations: 367.4 kB / 0.5388 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.5749, allocations: 12 kB / 0.5388 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.575, allocations: 16.14 kB / 0.5388 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.575, allocations: 15.94 kB / 0.5388 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.575, allocations: 4.312 kB / 0.5388 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.5781, allocations: 2.165 MB / 0.541 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/0.5791, allocations: 469.7 kB / 0.5414 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.5794, allocations: 26.72 kB / 0.5414 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/0.5802, allocations: 51.94 kB / 0.5415 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.5804, allocations: 67.81 kB / 0.5415 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.772e-05/0.5805, allocations: 43.98 kB / 0.5416 GB, free: 8.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003732/0.5842, allocations: 1.814 MB / 0.5434 GB, free: 6.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.5842, allocations: 0 / 0.5434 GB, free: 6.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004928/0.5892, allocations: 0.625 MB / 0.544 GB, free: 6.078 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.0003479/0.5895, allocations: 154.7 kB / 0.5441 GB, free: 5.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005761/0.5953, allocations: 3.234 MB / 0.5473 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.5953, allocations: 8.438 kB / 0.5473 GB, free: 2.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5964, allocations: 0.7895 MB / 0.5481 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.5983, allocations: 272.4 kB / 0.5483 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.6095, allocations: 6.55 MB / 0.5547 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/0.6122, allocations: 2.215 MB / 0.5569 GB, free: 8.766 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003588/0.6158, allocations: 1.473 MB / 0.5583 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.6163, allocations: 171.4 kB / 0.5585 GB, free: 7.121 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.6163, allocations: 0 / 0.5585 GB, free: 7.121 MB / 430.1 MB Notification: Performance of Templates: time 0.04021/0.6566, allocations: 20.55 MB / 0.5785 GB, free: 2.688 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestMove.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: