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.001247/0.001247, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001033/0.001033, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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 1.044/1.044, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.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.008364/0.008364, allocations: 1.194 MB / 262.2 MB, free: 11.71 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 7.42e-07/7.42e-07, allocations: 0 / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.165e-05, allocations: 4.844 kB / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.002073/0.002085, allocations: 2.486 MB / 334.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.002886, allocations: 0.9312 MB / 335.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.002967, allocations: 7.938 kB / 335.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.003201, allocations: 91.34 kB / 335.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.003346, allocations: 111.1 kB / 336 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.003458, allocations: 107.7 kB / 336.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.003652, allocations: 379.2 kB / 336.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.003732, allocations: 41.23 kB / 336.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.003921, allocations: 223.5 kB / 336.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.004045, allocations: 135.6 kB / 336.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.004071, allocations: 28 kB / 336.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.004146, allocations: 79.86 kB / 337 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.004208, allocations: 79.72 kB / 337 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.004265, allocations: 99.73 kB / 337.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.004476, allocations: 287 kB / 337.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004478, allocations: 0 / 337.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004478, allocations: 0 / 337.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004483, allocations: 3.984 kB / 337.4 MB, free: 12.92 MB / 266.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.0004906/0.004973, allocations: 0.6205 MB / 338 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.389e-05/0.004997, allocations: 8.031 kB / 338 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.005055, allocations: 52.69 kB / 338.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005225, allocations: 236.7 kB / 338.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.005242, allocations: 20.88 kB / 338.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.00527, allocations: 20.38 kB / 338.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.005471, allocations: 220.6 kB / 338.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.005482, allocations: 8.172 kB / 338.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.005498, allocations: 8.375 kB / 338.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.005505, allocations: 7.938 kB / 338.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.005647, allocations: 121.3 kB / 338.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.006238, allocations: 0.9004 MB / 339.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.006385, allocations: 130.1 kB / 339.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.00644, allocations: 59.59 kB / 339.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.006458, allocations: 4 kB / 339.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.00647, allocations: 37.39 kB / 339.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.022e-06/0.006471, allocations: 0 / 339.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.000945/0.007416, allocations: 0.7442 MB / 340.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.275e-05/0.007429, allocations: 59.34 kB / 340.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.00753, allocations: 272.2 kB / 340.9 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.007546, allocations: 37.7 kB / 341 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.007591, allocations: 191.5 kB / 341.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.007627, allocations: 99.19 kB / 341.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.007686, allocations: 79.2 kB / 341.3 MB, free: 8.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.007724, allocations: 0.5078 MB / 341.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.987e-05/0.007784, allocations: 47.97 kB / 341.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.007859, allocations: 157.3 kB / 342 MB, free: 7.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.007976, allocations: 179.7 kB / 342.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007977, allocations: 0 / 342.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002919/0.008269, allocations: 290.2 kB / 342.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.008278, allocations: 4 kB / 342.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.008282, allocations: 4 kB / 342.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.008467, allocations: 131.8 kB / 342.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.008556, allocations: 43.92 kB / 342.7 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002381/0.008794, allocations: 0.8585 MB / 343.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.008895, allocations: 27.97 kB / 343.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.008908, allocations: 8 kB / 343.6 MB, free: 6.379 MB / 266.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 6.392e-05/0.008972, allocations: 191.5 kB / 343.7 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.009013, allocations: 31.86 kB / 343.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.009044, allocations: 30.28 kB / 343.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.009046, allocations: 4 kB / 343.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.009048, allocations: 0 / 343.8 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.009051, allocations: 3.984 kB / 343.8 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.00964, allocations: 0.641 MB / 344.5 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.009642, allocations: 3.938 kB / 344.5 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.009729, allocations: 35.97 kB / 344.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/0.009863, allocations: 127.6 kB / 344.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.009877, allocations: 8 kB / 344.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002172/0.01009, allocations: 0.8624 MB / 345.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01009, allocations: 0 / 345.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.01042, allocations: 455.6 kB / 345.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.01048, allocations: 55.73 kB / 346 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.01051, allocations: 15.94 kB / 346 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/0.01059, allocations: 11.98 kB / 346 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.01065, allocations: 47.91 kB / 346.1 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01066, allocations: 11.98 kB / 346.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.01071, allocations: 185.1 kB / 346.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 0 / 346.3 MB, free: 3.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.01092, allocations: 67.94 kB / 346.3 MB, free: 3.492 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.0006148/0.01153, allocations: 358.7 kB / 346.7 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.01175, allocations: 173.4 kB / 346.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01175, allocations: 4.438 kB / 346.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.01185, allocations: 114.9 kB / 347 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.0121, allocations: 56.41 kB / 347 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.01298, allocations: 0.6814 MB / 347.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.321e-05/0.01301, allocations: 84.08 kB / 347.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.338e-05/0.01307, allocations: 34.2 kB / 347.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.303e-05/0.01315, allocations: 114.2 kB / 347.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01315, allocations: 0 / 347.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of Templates: time 0.005768/0.01892, allocations: 5.136 MB / 353.1 MB, free: 12.86 MB / 282.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.9353228178806603]