Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002396, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002512, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9096/0.9096, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08228/0.9919, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.004621/0.004621, allocations: 1.182 MB / 245.3 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.006433, allocations: 0.8346 MB / 246.2 MB, free: 12.77 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") translateModel(ElectricBraking.Examples.Translational.MechanicalBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 247.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.453e-05, allocations: 2.312 kB / 247.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.002635/0.002649, allocations: 2.55 MB / 250 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003957, allocations: 0.962 MB / 251 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.004073, allocations: 7.938 kB / 251 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.004328, allocations: 91.33 kB / 251.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.004522, allocations: 119 kB / 251.2 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.004711, allocations: 111.8 kB / 251.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.005012, allocations: 363.3 kB / 251.6 MB, free: 7.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.005125, allocations: 47.14 kB / 251.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.00543, allocations: 252.4 kB / 251.9 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.005608, allocations: 139.6 kB / 252.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.005643, allocations: 28 kB / 252.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.005768, allocations: 75.92 kB / 252.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.005846, allocations: 47.86 kB / 252.2 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.005915, allocations: 79.81 kB / 252.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.006194, allocations: 255.1 kB / 252.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.006204, allocations: 3.938 kB / 252.6 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.006204, allocations: 4 kB / 252.6 MB, free: 6.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.006213, allocations: 3.938 kB / 252.6 MB, free: 6.344 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006458/0.006859, allocations: 0.554 MB / 253.1 MB, free: 5.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.006887, allocations: 11.98 kB / 253.1 MB, free: 5.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.006948, allocations: 40.91 kB / 253.2 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.007172, allocations: 209.8 kB / 253.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.007194, allocations: 16.88 kB / 253.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.007228, allocations: 16.38 kB / 253.4 MB, free: 5.449 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.007471, allocations: 228 kB / 253.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.007481, allocations: 192 / 253.6 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.007499, allocations: 16.36 kB / 253.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.007506, allocations: 7.938 kB / 253.6 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.007651, allocations: 105.4 kB / 253.8 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.008355, allocations: 0.6481 MB / 254.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.008516, allocations: 114.3 kB / 254.5 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.008571, allocations: 48.83 kB / 254.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.008596, allocations: 11.94 kB / 254.6 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.008615, allocations: 30.56 kB / 254.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.008616, allocations: 4 kB / 254.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.001073/0.009689, allocations: 0.7084 MB / 255.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.009713, allocations: 55.41 kB / 255.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.009847, allocations: 226.6 kB / 255.6 MB, free: 3.109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.009872, allocations: 33.7 kB / 255.6 MB, free: 3.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.009924, allocations: 148.7 kB / 255.8 MB, free: 2.922 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.009972, allocations: 91.25 kB / 255.9 MB, free: 2.832 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.01003, allocations: 69.61 kB / 255.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.01011, allocations: 334.8 kB / 256.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.88e-05/0.01017, allocations: 39.98 kB / 256.3 MB, free: 2.383 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.052e-05/0.01025, allocations: 111.7 kB / 256.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01038, allocations: 167.7 kB / 256.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01038, allocations: 0 / 256.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002611/0.01065, allocations: 222.6 kB / 256.8 MB, free: 1.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01066, allocations: 7.938 kB / 256.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01066, allocations: 8.219 kB / 256.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.01087, allocations: 128.8 kB / 256.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.011, allocations: 55.91 kB / 257 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002947/0.01129, allocations: 0.5852 MB / 257.6 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.0114, allocations: 27.91 kB / 257.6 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.01141, allocations: 8 kB / 257.6 MB, free: 0.9805 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 8.169e-05/0.01149, allocations: 140.5 kB / 257.7 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.01154, allocations: 19.98 kB / 257.8 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.01158, allocations: 34.27 kB / 257.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01158, allocations: 4 kB / 257.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01158, allocations: 4.031 kB / 257.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01159, allocations: 0 / 257.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.0122, allocations: 488.6 kB / 258.3 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0122, allocations: 4.062 kB / 258.3 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01232, allocations: 47.97 kB / 258.3 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.01237, allocations: 31.84 kB / 258.4 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.01253, allocations: 120.8 kB / 258.5 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.01255, allocations: 11.98 kB / 258.5 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002841/0.01283, allocations: 0.584 MB / 259.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01283, allocations: 0 / 259.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.01317, allocations: 367.9 kB / 259.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.0132, allocations: 8.047 kB / 259.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.01328, allocations: 27.94 kB / 259.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.01335, allocations: 43.91 kB / 259.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.01336, allocations: 11.98 kB / 259.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.648e-05/0.01342, allocations: 74.78 kB / 259.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01342, allocations: 4 kB / 259.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000199/0.01362, allocations: 67.88 kB / 259.7 MB, free: 14.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * Number of discrete variables: 5 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 3 (brake.mode,brake.startForward,brake.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009169/0.01453, allocations: 491.5 kB / 260.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.01478, allocations: 170.7 kB / 260.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.01479, allocations: 4.188 kB / 260.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01491, allocations: 112.9 kB / 260.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.01521, allocations: 328 kB / 260.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.01746, allocations: 0.6342 MB / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.01751, allocations: 88.31 kB / 261.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.393e-05/0.01757, allocations: 22.3 kB / 261.5 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.01767, allocations: 91.28 kB / 261.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01767, allocations: 4 kB / 261.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Templates: time 0.006378/0.02405, allocations: 5.055 MB / 266.6 MB, free: 8.012 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5968123115599155]