Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001444/0.001444, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.763/1.763, allocations: 194.3 MB / 202.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00167/0.00167, allocations: 115.6 kB / 247.4 MB, free: 6.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.21/0.21, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.567e-05/1.569e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4522, allocations: 81.85 MB / 0.5176 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.4525, allocations: 62.84 kB / 0.5177 GB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.4647, allocations: 4.651 MB / 0.5222 GB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4647, allocations: 0 / 0.5222 GB, free: 9.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.4647, allocations: 11.44 kB / 0.5222 GB, free: 9.062 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0005829/0.4653, allocations: 0.5185 MB / 0.5227 GB, free: 8.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4654, allocations: 7.75 kB / 0.5227 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.4654, allocations: 39.78 kB / 0.5228 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.4657, allocations: 247.3 kB / 0.523 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.4657, allocations: 7.625 kB / 0.523 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4657, allocations: 15.41 kB / 0.523 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000217/0.466, allocations: 130.6 kB / 0.5232 GB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.4663, allocations: 224.7 kB / 0.5234 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.4663, allocations: 7.891 kB / 0.5234 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.4663, allocations: 3.953 kB / 0.5234 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4663, allocations: 7.625 kB / 0.5234 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.4674, allocations: 1.261 MB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.4676, allocations: 204.2 kB / 0.5248 GB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.4677, allocations: 71.78 kB / 0.5249 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4678, allocations: 3.875 kB / 0.5249 GB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4678, allocations: 42.06 kB / 0.5249 GB, free: 6.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 2.945e-06/0.4678, allocations: 3.844 kB / 0.5249 GB, free: 6.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001493/0.4693, allocations: 1.335 MB / 0.5262 GB, free: 5.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4694, allocations: 136.2 kB / 0.5264 GB, free: 5.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4695, allocations: 188 kB / 0.5265 GB, free: 5.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.4696, allocations: 26.64 kB / 0.5266 GB, free: 5.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.4696, allocations: 177.2 kB / 0.5267 GB, free: 5.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.4697, allocations: 108.8 kB / 0.5268 GB, free: 5.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.4697, allocations: 0 / 0.5268 GB, free: 5.273 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.4698, allocations: 349.1 kB / 0.5272 GB, free: 4.945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/0.4699, allocations: 62.44 kB / 0.5272 GB, free: 4.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.47, allocations: 189.5 kB / 0.5274 GB, free: 4.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4702, allocations: 105 kB / 0.5275 GB, free: 4.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4702, allocations: 3.719 kB / 0.5275 GB, free: 4.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003621/0.4705, allocations: 293.1 kB / 0.5278 GB, free: 4.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4706, allocations: 7.719 kB / 0.5278 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4706, allocations: 3.844 kB / 0.5278 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4706, allocations: 7.625 kB / 0.5278 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.471, allocations: 111.8 kB / 0.5279 GB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.471, allocations: 10.94 kB / 0.5279 GB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.4712, allocations: 23.48 kB / 0.528 GB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.4712, allocations: 26.62 kB / 0.528 GB, free: 4.605 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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 7.352e-05/0.4713, allocations: 108.8 kB / 0.5281 GB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.4714, allocations: 27.25 kB / 0.5281 GB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.4715, allocations: 33.55 kB / 0.5281 GB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4715, allocations: 7.906 kB / 0.5282 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4715, allocations: 3.906 kB / 0.5282 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4715, allocations: 0 / 0.5282 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.4724, allocations: 0.8681 MB / 0.529 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4725, allocations: 0 / 0.529 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.4728, allocations: 85.16 kB / 0.5291 GB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4728, allocations: 11.73 kB / 0.5291 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.4729, allocations: 7.312 kB / 0.5291 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4729, allocations: 4.375 kB / 0.5291 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4729, allocations: 3.984 kB / 0.5291 GB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.4734, allocations: 0.6857 MB / 0.5298 GB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4734, allocations: 104.4 kB / 0.5299 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.4735, allocations: 0 / 0.5299 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.4737, allocations: 27.34 kB / 0.5299 GB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.4738, allocations: 23.19 kB / 0.5299 GB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.4738, allocations: 14.67 kB / 0.5299 GB, free: 3.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.079e-05/0.4739, allocations: 139.9 kB / 0.5301 GB, free: 3.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4739, allocations: 0 / 0.5301 GB, free: 3.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004298/0.4744, allocations: 65.61 kB / 0.5301 GB, free: 3.078 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 9.852e-05/0.4745, allocations: 98.78 kB / 0.5302 GB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.4748, allocations: 193 kB / 0.5304 GB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4748, allocations: 4 kB / 0.5304 GB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.4749, allocations: 95.86 kB / 0.5305 GB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.4753, allocations: 29.27 kB / 0.5305 GB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.4763, allocations: 0.6998 MB / 0.5312 GB, free: 2.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.4765, allocations: 0.7931 MB / 0.532 GB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.4767, allocations: 34.77 kB / 0.532 GB, free: 1.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.4768, allocations: 22.81 kB / 0.5321 GB, free: 1.617 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4768, allocations: 0 / 0.5321 GB, free: 1.617 MB / 346.7 MB Notification: Performance of Templates: time 0.004286/0.4811, allocations: 2.004 MB / 0.534 GB, free: 0.5039 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)