Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.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.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001322/0.001322, allocations: 182 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.675/1.675, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001755/0.001755, allocations: 118.4 kB / 252.6 MB, free: 4.789 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.2012/0.2012, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.72e-05, allocations: 7.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1568, allocations: 54.85 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.6245, allocations: 82.49 MB / 0.525 GB, free: 8.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.6248, allocations: 65.47 kB / 0.5251 GB, free: 8.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.6381, allocations: 4.158 MB / 0.5291 GB, free: 5.414 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.6382, allocations: 0 / 0.5291 GB, free: 5.414 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.6382, allocations: 8 kB / 0.5292 GB, free: 5.406 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007194/0.6389, allocations: 453.9 kB / 0.5296 GB, free: 4.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.574e-05/0.639, allocations: 16.02 kB / 0.5296 GB, free: 4.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.6391, allocations: 27.67 kB / 0.5296 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.6394, allocations: 230 kB / 0.5298 GB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.6394, allocations: 12.31 kB / 0.5299 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.6395, allocations: 27.81 kB / 0.5299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.6399, allocations: 211.9 kB / 0.5301 GB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.64, allocations: 7.906 kB / 0.5301 GB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.64, allocations: 7.5 kB / 0.5301 GB, free: 4.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.64, allocations: 8 kB / 0.5301 GB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.6404, allocations: 114.7 kB / 0.5302 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.6419, allocations: 1.036 MB / 0.5312 GB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.6422, allocations: 160 kB / 0.5314 GB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.6423, allocations: 54.31 kB / 0.5314 GB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.6424, allocations: 4 kB / 0.5314 GB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.6424, allocations: 41.62 kB / 0.5315 GB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.6424, allocations: 0 / 0.5315 GB, free: 3.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003916/0.6428, allocations: 116 kB / 0.5316 GB, free: 2.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.6429, allocations: 131.8 kB / 0.5317 GB, free: 2.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.6431, allocations: 160.9 kB / 0.5319 GB, free: 2.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.6432, allocations: 29.7 kB / 0.5319 GB, free: 2.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.6433, allocations: 161 kB / 0.532 GB, free: 2.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.6434, allocations: 57.8 kB / 0.5321 GB, free: 2.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.6434, allocations: 7.25 kB / 0.5321 GB, free: 2.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6435, allocations: 330.5 kB / 0.5324 GB, free: 2.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.6436, allocations: 44.25 kB / 0.5325 GB, free: 2.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.6438, allocations: 149.8 kB / 0.5326 GB, free: 1.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.644, allocations: 69.47 kB / 0.5327 GB, free: 1.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.644, allocations: 4 kB / 0.5327 GB, free: 1.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004742/0.6445, allocations: 223.9 kB / 0.5329 GB, free: 1.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/0.6445, allocations: 8.438 kB / 0.5329 GB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6446, allocations: 8 kB / 0.5329 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.6446, allocations: 4 kB / 0.5329 GB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.6449, allocations: 63.22 kB / 0.533 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.6449, allocations: 4.188 kB / 0.533 GB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.6451, allocations: 31.19 kB / 0.533 GB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.6451, allocations: 11.38 kB / 0.533 GB, free: 1.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.581e-05/0.6452, allocations: 127.5 kB / 0.5331 GB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.6453, allocations: 15.84 kB / 0.5332 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.6456, allocations: 87.58 kB / 0.5332 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6456, allocations: 4 kB / 0.5332 GB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6456, allocations: 0 / 0.5332 GB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.6456, allocations: 4 kB / 0.5332 GB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.6462, allocations: 256.7 kB / 0.5335 GB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6462, allocations: 0 / 0.5335 GB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.6465, allocations: 51.09 kB / 0.5335 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.6465, allocations: 4 kB / 0.5335 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.6465, allocations: 4 kB / 0.5335 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.6465, allocations: 3.938 kB / 0.5336 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6466, allocations: 0 / 0.5336 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.647, allocations: 0.514 MB / 0.5341 GB, free: 484 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.647, allocations: 96.86 kB / 0.5341 GB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.6471, allocations: 11.31 kB / 0.5342 GB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.6473, allocations: 7.25 kB / 0.5342 GB, free: 356 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.6474, allocations: 11.94 kB / 0.5342 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.6474, allocations: 4 kB / 0.5342 GB, free: 340 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.6475, allocations: 133.2 kB / 0.5343 GB, free: 224 kB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6475, allocations: 0 / 0.5343 GB, free: 224 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000645/0.6482, allocations: 57.47 kB / 0.5344 GB, free: 172 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001528/0.6483, allocations: 106 kB / 0.5345 GB, free: 60 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.6487, allocations: 121.8 kB / 0.5346 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6487, allocations: 0 / 0.5346 GB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.6488, allocations: 46 kB / 0.5346 GB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.6495, allocations: 32.61 kB / 0.5347 GB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.6513, allocations: 0.737 MB / 0.5354 GB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.6519, allocations: 0.752 MB / 0.5361 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.652, allocations: 26.06 kB / 0.5361 GB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.6521, allocations: 19.44 kB / 0.5361 GB, free: 14.34 MB / 362.7 MB Notification: Performance of SimCode: time 3.777e-06/0.6521, allocations: 0 / 0.5361 GB, free: 14.34 MB / 362.7 MB Notification: Performance of Templates: time 0.006433/0.6586, allocations: 1.608 MB / 0.5377 GB, free: 12.76 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe 2>&1)