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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.01054/0.01054, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.277/1.277, allocations: 170.8 MB / 186.6 MB, free: 1.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001454/0.001454, allocations: 113.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3309/0.3309, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003764, allocations: 11.98 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3141/0.423, allocations: 88.31 MB / 499.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.4233, allocations: 66.53 kB / 499.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1562/0.5795, allocations: 57.86 MB / 0.5447 GB, free: 10.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5796, allocations: 3.938 kB / 0.5447 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001261/0.5797, allocations: 48 kB / 0.5448 GB, free: 10.57 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.007725/0.5874, allocations: 2.706 MB / 0.5474 GB, free: 7.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5875, allocations: 19.95 kB / 0.5474 GB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008539/0.596, allocations: 1.981 MB / 0.5494 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.6073, allocations: 3.357 MB / 0.5526 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.6077, allocations: 180.8 kB / 0.5528 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.6094, allocations: 243.8 kB / 0.553 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.6261, allocations: 6.886 MB / 0.5598 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.6264, allocations: 39.62 kB / 0.5598 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.6275, allocations: 129 kB / 0.5599 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001186/0.6287, allocations: 0.7111 MB / 0.5606 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01185/0.6405, allocations: 5.891 MB / 0.5664 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2764/0.9169, allocations: 33.5 MB / 0.5991 GB, free: 71.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.9212, allocations: 2.091 MB / 0.6011 GB, free: 70.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-05/0.9213, allocations: 13.94 kB / 0.6012 GB, free: 70.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9214, allocations: 49.66 kB / 0.6012 GB, free: 70.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 6.001e-06/0.9214, allocations: 0 / 0.6012 GB, free: 70.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.01401/0.9354, allocations: 6.371 MB / 0.6074 GB, free: 68.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.9355, allocations: 138.6 kB / 0.6076 GB, free: 68.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004211/0.9397, allocations: 2.602 MB / 0.6101 GB, free: 68.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.9399, allocations: 39.97 kB / 0.6101 GB, free: 68.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001056/0.9409, allocations: 2.096 MB / 0.6122 GB, free: 67.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.9413, allocations: 456.3 kB / 0.6126 GB, free: 66.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.9415, allocations: 88.39 kB / 0.6127 GB, free: 66.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.9417, allocations: 0.4953 MB / 0.6132 GB, free: 66.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.9436, allocations: 1.416 MB / 0.6146 GB, free: 66.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.9473, allocations: 4.236 MB / 0.6187 GB, free: 62.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.9507, allocations: 2.41 MB / 0.6211 GB, free: 62.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/0.9507, allocations: 29 kB / 0.6211 GB, free: 62.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=572) (initialization): time 0.008203/0.9589, allocations: 5.46 MB / 0.6264 GB, free: 62.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.959, allocations: 46.22 kB / 0.6265 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.9592, allocations: 107.7 kB / 0.6266 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.9593, allocations: 147.6 kB / 0.6267 GB, free: 62.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/0.9626, allocations: 1.082 MB / 0.6278 GB, free: 62.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001737/0.9628, allocations: 198.1 kB / 0.6279 GB, free: 62.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/0.9663, allocations: 284.3 kB / 0.6282 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005293/0.9668, allocations: 283.6 kB / 0.6285 GB, free: 62.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 461 * Number of states: 0 () * Number of discrete variables: 15 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (548): * Single equations (assignments): 545 * 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.002389/0.9692, allocations: 1.386 MB / 0.6298 GB, free: 62.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/0.9698, allocations: 237.1 kB / 0.6301 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.9717, allocations: 1.25 MB / 0.6313 GB, free: 61.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.9717, allocations: 11.69 kB / 0.6313 GB, free: 61.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.9717, allocations: 6.156 kB / 0.6313 GB, free: 61.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.9718, allocations: 6.141 kB / 0.6313 GB, free: 61.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006584/0.9783, allocations: 3.988 MB / 0.6352 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.9784, allocations: 8 kB / 0.6352 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.9794, allocations: 211.7 kB / 0.6354 GB, free: 61.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.9794, allocations: 11.73 kB / 0.6354 GB, free: 61.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.9795, allocations: 18.3 kB / 0.6354 GB, free: 61.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.9795, allocations: 4.344 kB / 0.6354 GB, free: 61.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.9795, allocations: 1.562 kB / 0.6355 GB, free: 61.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.9822, allocations: 2.073 MB / 0.6375 GB, free: 60.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.9836, allocations: 467.2 kB / 0.6379 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.9839, allocations: 13.27 kB / 0.6379 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.9848, allocations: 79.66 kB / 0.638 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.9849, allocations: 56.62 kB / 0.6381 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.985, allocations: 35.2 kB / 0.6381 GB, free: 59.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00298/0.988, allocations: 1.813 MB / 0.6399 GB, free: 59.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.988, allocations: 0 / 0.6399 GB, free: 59.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004538/0.9926, allocations: 0.6472 MB / 0.6405 GB, free: 59.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0003969/0.993, allocations: 163.3 kB / 0.6407 GB, free: 59.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004988/0.998, allocations: 3.242 MB / 0.6438 GB, free: 58.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.998, allocations: 0 / 0.6438 GB, free: 58.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008221/0.9988, allocations: 0.7722 MB / 0.6446 GB, free: 57.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/1, allocations: 247.1 kB / 0.6448 GB, free: 57.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00859/1.009, allocations: 6.347 MB / 0.651 GB, free: 54.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/1.011, allocations: 2.258 MB / 0.6532 GB, free: 53.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003677/1.015, allocations: 1.463 MB / 0.6546 GB, free: 53.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/1.015, allocations: 178.5 kB / 0.6548 GB, free: 53.32 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.015, allocations: 0 / 0.6548 GB, free: 53.32 MB / 426.7 MB Notification: Performance of Templates: time 0.03368/1.049, allocations: 19.68 MB / 0.674 GB, free: 52.31 MB / 426.7 MB 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)