Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001044/0.001044, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.427/1.427, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001659/0.001659, allocations: 99.47 kB / 218 MB, free: 8.344 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.2069/0.2069, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.336e-05, allocations: 1.281 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 48.73 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5461, allocations: 74.76 MB / 473.5 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.5464, allocations: 69.92 kB / 473.6 MB, free: 17.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.5626, allocations: 5.741 MB / 479.3 MB, free: 33.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5626, allocations: 0 / 479.3 MB, free: 33.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.5627, allocations: 8.031 kB / 479.3 MB, free: 33.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008902/0.5636, allocations: 0.5566 MB / 479.9 MB, free: 32.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5636, allocations: 8.688 kB / 479.9 MB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.5638, allocations: 41.22 kB / 479.9 MB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.5641, allocations: 265.7 kB / 480.2 MB, free: 32.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.5641, allocations: 12.34 kB / 480.2 MB, free: 32.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.5642, allocations: 30.19 kB / 480.2 MB, free: 32.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003752/0.5646, allocations: 163.6 kB / 480.4 MB, free: 32.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.5651, allocations: 317.7 kB / 480.7 MB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.5652, allocations: 10.31 kB / 480.7 MB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.5652, allocations: 1.062 kB / 480.7 MB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5652, allocations: 13.83 kB / 480.7 MB, free: 32.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.5672, allocations: 1.649 MB / 482.4 MB, free: 31.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.5676, allocations: 236.5 kB / 482.6 MB, free: 31.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.5677, allocations: 74.39 kB / 482.7 MB, free: 31.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.5677, allocations: 12.42 kB / 482.7 MB, free: 31.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.5677, allocations: 42.53 kB / 482.7 MB, free: 31.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.943e-06/0.5678, allocations: 0 / 482.7 MB, free: 31.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004986/0.5683, allocations: 167.7 kB / 482.9 MB, free: 30.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.5683, allocations: 216.7 kB / 483.1 MB, free: 30.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.5686, allocations: 223.1 kB / 483.3 MB, free: 30.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.5686, allocations: 25.7 kB / 483.3 MB, free: 30.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5687, allocations: 241.7 kB / 483.6 MB, free: 30.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.5688, allocations: 112 kB / 483.7 MB, free: 30.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.5688, allocations: 0 / 483.7 MB, free: 30.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/0.5689, allocations: 343.8 kB / 484 MB, free: 30 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5691, allocations: 74.22 kB / 484.1 MB, free: 30 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5694, allocations: 396.4 kB / 484.5 MB, free: 29.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.5696, allocations: 141.6 kB / 484.6 MB, free: 29.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.5696, allocations: 4.719 kB / 484.6 MB, free: 29.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007744/0.5704, allocations: 430.6 kB / 485 MB, free: 29.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.5705, allocations: 14.97 kB / 485 MB, free: 29.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.5705, allocations: 11.62 kB / 485.1 MB, free: 29.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.5705, allocations: 17.19 kB / 485.1 MB, free: 29.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.571, allocations: 148.8 kB / 485.2 MB, free: 29.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.589e-05/0.571, allocations: 29.44 kB / 485.3 MB, free: 29.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.5713, allocations: 60.83 kB / 485.3 MB, free: 29.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.5714, allocations: 30.88 kB / 485.3 MB, free: 29.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * 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 9.758e-05/0.5715, allocations: 131.4 kB / 485.5 MB, free: 29.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5717, allocations: 27.34 kB / 485.5 MB, free: 29.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.5717, allocations: 36.88 kB / 485.5 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.5717, allocations: 3.938 kB / 485.5 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.5717, allocations: 2.594 kB / 485.5 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5718, allocations: 8.016 kB / 485.5 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.5728, allocations: 0.5858 MB / 486.1 MB, free: 28.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5729, allocations: 2.438 kB / 486.1 MB, free: 28.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.5733, allocations: 92.62 kB / 486.2 MB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5733, allocations: 3.844 kB / 486.2 MB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.5734, allocations: 8.031 kB / 486.2 MB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5734, allocations: 5.906 kB / 486.2 MB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5734, allocations: 10.27 kB / 486.3 MB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.574, allocations: 0.8658 MB / 487.1 MB, free: 28.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.5741, allocations: 121 kB / 487.2 MB, free: 27.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.5741, allocations: 12.78 kB / 487.2 MB, free: 27.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.5745, allocations: 11.94 kB / 487.3 MB, free: 27.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.5745, allocations: 21.84 kB / 487.3 MB, free: 27.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.5746, allocations: 8.25 kB / 487.3 MB, free: 27.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.5747, allocations: 157.7 kB / 487.4 MB, free: 27.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5747, allocations: 0 / 487.4 MB, free: 27.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007885/0.5755, allocations: 93.03 kB / 487.5 MB, free: 27.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * 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.0001604/0.5757, allocations: 108.5 kB / 487.6 MB, free: 27.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.5762, allocations: 227.2 kB / 487.9 MB, free: 27.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5762, allocations: 1.203 kB / 487.9 MB, free: 27.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.5763, allocations: 72.75 kB / 487.9 MB, free: 27.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.577, allocations: 60.7 kB / 488 MB, free: 27.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.5791, allocations: 1.524 MB / 489.5 MB, free: 26.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.5795, allocations: 0.8039 MB / 490.3 MB, free: 25.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.5797, allocations: 43.75 kB / 490.4 MB, free: 25.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.5798, allocations: 28.31 kB / 490.4 MB, free: 25.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5798, allocations: 3.938 kB / 490.4 MB, free: 25.88 MB / 346.7 MB Notification: Performance of Templates: time 0.006944/0.5868, allocations: 2.501 MB / 492.9 MB, free: 25.7 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)