Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Translational.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.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001415/0.001414, allocations: 182.3 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.666/1.666, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001596/0.001596, allocations: 114 kB / 252.6 MB, free: 4.805 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.2316/0.2316, allocations: 39.94 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.13e-05, allocations: 0 / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 54.85 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.629, allocations: 82.36 MB / 0.5249 GB, free: 8.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.6293, allocations: 63.5 kB / 0.5249 GB, free: 8.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.6403, allocations: 4.534 MB / 0.5294 GB, free: 5.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6403, allocations: 0 / 0.5294 GB, free: 5.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.6404, allocations: 4 kB / 0.5294 GB, free: 5.203 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0005034/0.6409, allocations: 466.9 kB / 0.5298 GB, free: 4.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6409, allocations: 12.03 kB / 0.5298 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.641, allocations: 27.67 kB / 0.5299 GB, free: 4.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.6412, allocations: 236.1 kB / 0.5301 GB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.6412, allocations: 14.69 kB / 0.5301 GB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.6413, allocations: 26.41 kB / 0.5301 GB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.6416, allocations: 211.8 kB / 0.5303 GB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.6416, allocations: 7.984 kB / 0.5303 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.6417, allocations: 6.625 kB / 0.5303 GB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6417, allocations: 8 kB / 0.5304 GB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.6419, allocations: 133.7 kB / 0.5305 GB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.643, allocations: 0.9889 MB / 0.5314 GB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.6433, allocations: 223 kB / 0.5317 GB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.917e-05/0.6434, allocations: 74.58 kB / 0.5317 GB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.6434, allocations: 8 kB / 0.5317 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.6434, allocations: 45.64 kB / 0.5318 GB, free: 2.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.6434, allocations: 0 / 0.5318 GB, free: 2.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001005/0.6445, allocations: 0.9601 MB / 0.5327 GB, free: 1.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.6445, allocations: 136.5 kB / 0.5328 GB, free: 1.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.6446, allocations: 166.9 kB / 0.533 GB, free: 1.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.6447, allocations: 33.39 kB / 0.533 GB, free: 1.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.6447, allocations: 150.1 kB / 0.5332 GB, free: 1.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.6448, allocations: 100.4 kB / 0.5333 GB, free: 1.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.6448, allocations: 11.31 kB / 0.5333 GB, free: 1.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.6449, allocations: 340.9 kB / 0.5336 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.028e-05/0.645, allocations: 59.06 kB / 0.5337 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.6452, allocations: 187.5 kB / 0.5338 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.6453, allocations: 92.5 kB / 0.5339 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6453, allocations: 0 / 0.5339 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003538/0.6457, allocations: 291.8 kB / 0.5342 GB, free: 396 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6457, allocations: 11.95 kB / 0.5342 GB, free: 384 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.6457, allocations: 4 kB / 0.5342 GB, free: 380 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.6457, allocations: 12.31 kB / 0.5342 GB, free: 368 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.646, allocations: 86.7 kB / 0.5343 GB, free: 284 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.646, allocations: 8.078 kB / 0.5343 GB, free: 276 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.6461, allocations: 15.16 kB / 0.5343 GB, free: 268 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.6461, allocations: 19.86 kB / 0.5344 GB, free: 252 kB / 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 (45): * Single equations (assignments): 45 * 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.499e-05/0.6462, allocations: 131.1 kB / 0.5345 GB, free: 124 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.6463, allocations: 15.81 kB / 0.5345 GB, free: 108 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.6465, allocations: 110.3 kB / 0.5346 GB, free: 8 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/0.6466, allocations: 11.98 kB / 0.5346 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.6466, allocations: 4 kB / 0.5346 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.6466, allocations: 0 / 0.5346 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6477, allocations: 0.7788 MB / 0.5354 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6477, allocations: 4 kB / 0.5354 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.648, allocations: 67.91 kB / 0.5355 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.648, allocations: 4 kB / 0.5355 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.6481, allocations: 13.88 kB / 0.5355 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/0.6481, allocations: 7.984 kB / 0.5355 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6481, allocations: 0 / 0.5355 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.6488, allocations: 0.7327 MB / 0.5362 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.6489, allocations: 100.1 kB / 0.5363 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.649, allocations: 11.75 kB / 0.5363 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.6492, allocations: 15.5 kB / 0.5363 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.6492, allocations: 23.55 kB / 0.5363 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.6493, allocations: 8 kB / 0.5363 GB, free: 14.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.6494, allocations: 137.9 kB / 0.5365 GB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6494, allocations: 0 / 0.5365 GB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004264/0.6498, allocations: 64.94 kB / 0.5365 GB, free: 14.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0001481/0.65, allocations: 117.8 kB / 0.5367 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.6503, allocations: 186 kB / 0.5368 GB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6503, allocations: 0 / 0.5368 GB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.6505, allocations: 86.98 kB / 0.5369 GB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.6509, allocations: 44.61 kB / 0.537 GB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.6523, allocations: 0.8431 MB / 0.5378 GB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.6527, allocations: 0.7636 MB / 0.5385 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.6529, allocations: 26.06 kB / 0.5385 GB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.6529, allocations: 23.44 kB / 0.5386 GB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6529, allocations: 0 / 0.5386 GB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.005079/0.658, allocations: 1.993 MB / 0.5405 GB, free: 10.07 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Translational.TestBraking.pipe 2>&1)