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.009681/0.009681, allocations: 177.6 kB / 15.12 MB, free: 5.973 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.573/1.573, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.001671/0.001671, allocations: 112.6 kB / 255.6 MB, free: 11.2 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1861/0.1861, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 13.67 kB / 406.1 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 54.87 MB / 461 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.2307, allocations: 82.45 MB / 0.5307 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.231, allocations: 63.97 kB / 0.5308 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.248/0.479, allocations: 4.522 MB / 0.5352 GB, free: 83.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4791, allocations: 1.094 kB / 0.5352 GB, free: 83.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.656e-05/0.4791, allocations: 4.219 kB / 0.5352 GB, free: 83.15 MB / 378.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.0009961/0.4801, allocations: 495.1 kB / 0.5357 GB, free: 82.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.4802, allocations: 8.531 kB / 0.5357 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4803, allocations: 28.98 kB / 0.5357 GB, free: 82.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.4808, allocations: 227.3 kB / 0.5359 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.4809, allocations: 18.5 kB / 0.5359 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.481, allocations: 25.64 kB / 0.536 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.4816, allocations: 222 kB / 0.5362 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.4816, allocations: 1.766 kB / 0.5362 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.4816, allocations: 10.12 kB / 0.5362 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.4817, allocations: 6 kB / 0.5362 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.482, allocations: 141.6 kB / 0.5363 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.4839, allocations: 0.9863 MB / 0.5373 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.4842, allocations: 233 kB / 0.5375 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.4843, allocations: 4.906 kB / 0.5375 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.4843, allocations: 38.17 kB / 0.5376 GB, free: 81.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.4843, allocations: 4 kB / 0.5376 GB, free: 81.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001496/0.4858, allocations: 1.007 MB / 0.5386 GB, free: 80.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.4859, allocations: 139.3 kB / 0.5387 GB, free: 80.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4861, allocations: 169.1 kB / 0.5388 GB, free: 80.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.4862, allocations: 30.05 kB / 0.5389 GB, free: 80.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4864, allocations: 151.3 kB / 0.539 GB, free: 80.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.4865, allocations: 106.6 kB / 0.5391 GB, free: 80.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.4866, allocations: 7.125 kB / 0.5391 GB, free: 80.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4867, allocations: 333.7 kB / 0.5394 GB, free: 80.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.4869, allocations: 64.52 kB / 0.5395 GB, free: 80.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.4872, allocations: 182.2 kB / 0.5397 GB, free: 79.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4875, allocations: 100.4 kB / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4875, allocations: 1.5 kB / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007095/0.4882, allocations: 309.7 kB / 0.5401 GB, free: 79.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4883, allocations: 9.922 kB / 0.5401 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4883, allocations: 4.75 kB / 0.5401 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.4883, allocations: 6.828 kB / 0.5401 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.4886, allocations: 82.77 kB / 0.5402 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.4887, allocations: 13.62 kB / 0.5402 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4889, allocations: 19.67 kB / 0.5402 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.4889, allocations: 16.22 kB / 0.5402 GB, free: 79.76 MB / 378.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 () * Number of clocked 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 0.0001507/0.4891, allocations: 144.3 kB / 0.5404 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.4892, allocations: 20.44 kB / 0.5404 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.4895, allocations: 116.1 kB / 0.5405 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4895, allocations: 4.625 kB / 0.5405 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4895, allocations: 1.938 kB / 0.5405 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4895, allocations: 2.656 kB / 0.5405 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4908, allocations: 0.7763 MB / 0.5413 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4908, allocations: 3.234 kB / 0.5413 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.4912, allocations: 69.27 kB / 0.5413 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.4912, allocations: 3.844 kB / 0.5413 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4912, allocations: 11.42 kB / 0.5413 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4912, allocations: 8.844 kB / 0.5413 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4912, allocations: 2.031 kB / 0.5413 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.4919, allocations: 0.7451 MB / 0.5421 GB, free: 78.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.492, allocations: 94.23 kB / 0.5422 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.492, allocations: 11.23 kB / 0.5422 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.4923, allocations: 7.469 kB / 0.5422 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.4923, allocations: 22.64 kB / 0.5422 GB, free: 78.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4923, allocations: 14.81 kB / 0.5422 GB, free: 78.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.4925, allocations: 134.5 kB / 0.5423 GB, free: 78.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4925, allocations: 0 / 0.5423 GB, free: 78.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005667/0.493, allocations: 58.03 kB / 0.5424 GB, free: 78.24 MB / 378.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 () * Number of clocked 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.0001368/0.4932, allocations: 114.1 kB / 0.5425 GB, free: 78.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.4936, allocations: 201.4 kB / 0.5427 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4936, allocations: 0.8438 kB / 0.5427 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.4937, allocations: 98.94 kB / 0.5428 GB, free: 78.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.4944, allocations: 44.05 kB / 0.5428 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.496, allocations: 1.087 MB / 0.5439 GB, free: 77.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4962, allocations: 0.7622 MB / 0.5446 GB, free: 76.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.4964, allocations: 30.77 kB / 0.5447 GB, free: 76.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.4965, allocations: 23.47 kB / 0.5447 GB, free: 76.48 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.4965, allocations: 0 / 0.5447 GB, free: 76.48 MB / 378.7 MB Notification: Performance of Templates: time 0.00556/0.502, allocations: 1.983 MB / 0.5466 GB, free: 76.07 MB / 378.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)