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.0009082/0.0009082, allocations: 77.86 kB / 20.66 MB, free: 3.836 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.00088/0.00088, allocations: 165 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.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.005071/0.005071, allocations: 1.193 MB / 262.2 MB, free: 11.72 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.783e-06/1.783e-06, allocations: 0 / 332.4 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.594e-05, allocations: 2.312 kB / 332.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.004466/0.004492, allocations: 2.489 MB / 334.9 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.006147, allocations: 0.9428 MB / 335.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.006309, allocations: 4 kB / 335.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.006724, allocations: 87.28 kB / 335.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.00702, allocations: 115.1 kB / 336 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.007249, allocations: 115.7 kB / 336.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.007654, allocations: 371.3 kB / 336.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.007797, allocations: 41.23 kB / 336.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.008186, allocations: 215.5 kB / 336.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.008426, allocations: 139.6 kB / 336.9 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.008473, allocations: 28 kB / 336.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.008625, allocations: 83.8 kB / 337 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.00874, allocations: 79.72 kB / 337.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.008854, allocations: 99.73 kB / 337.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.009288, allocations: 291 kB / 337.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.009291, allocations: 0 / 337.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.009293, allocations: 0 / 337.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.009299, allocations: 0 / 337.4 MB, free: 13.97 MB / 314.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.0009524/0.01025, allocations: 0.6283 MB / 338.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01029, allocations: 8.031 kB / 338.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.0104, allocations: 48.69 kB / 338.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.01071, allocations: 228.6 kB / 338.3 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.01075, allocations: 20.81 kB / 338.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.0108, allocations: 20.38 kB / 338.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.01119, allocations: 232.6 kB / 338.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.01122, allocations: 4.188 kB / 338.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.01124, allocations: 4.375 kB / 338.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.01125, allocations: 7.938 kB / 338.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.01151, allocations: 121.3 kB / 338.7 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.01273, allocations: 0.8926 MB / 339.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.01299, allocations: 127.1 kB / 339.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01309, allocations: 59.59 kB / 339.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.01312, allocations: 4 kB / 339.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.01315, allocations: 41.33 kB / 339.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.204e-06/0.01315, allocations: 0 / 339.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001708/0.01486, allocations: 0.7349 MB / 340.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.01489, allocations: 63.34 kB / 340.7 MB, free: 10.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.01511, allocations: 276.2 kB / 340.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.01514, allocations: 37.7 kB / 341 MB, free: 10.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01526, allocations: 187.5 kB / 341.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.339e-05/0.01534, allocations: 103.1 kB / 341.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01545, allocations: 75.25 kB / 341.3 MB, free: 9.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.01563, allocations: 0.504 MB / 341.8 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.01576, allocations: 55.66 kB / 341.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.01593, allocations: 149.3 kB / 342 MB, free: 9.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.01617, allocations: 178.4 kB / 342.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.01617, allocations: 3.984 kB / 342.2 MB, free: 8.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005403/0.01671, allocations: 282.4 kB / 342.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01673, allocations: 10.91 kB / 342.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01674, allocations: 4 kB / 342.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.01704, allocations: 135.7 kB / 342.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.0172, allocations: 47.91 kB / 342.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005692/0.01777, allocations: 0.8585 MB / 343.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.01795, allocations: 27.97 kB / 343.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.01797, allocations: 8 kB / 343.6 MB, free: 7.441 MB / 314.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 0.0001337/0.01811, allocations: 184.4 kB / 343.7 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.01817, allocations: 35.89 kB / 343.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.01823, allocations: 30.28 kB / 343.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01824, allocations: 3.984 kB / 343.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01824, allocations: 4 kB / 343.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.01834, allocations: 43.81 kB / 343.9 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.01838, allocations: 8 kB / 343.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.01856, allocations: 31.91 kB / 343.9 MB, free: 7.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.01867, allocations: 47.91 kB / 343.9 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005995/0.01927, allocations: 344.4 kB / 344.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005399/0.01981, allocations: 0.5071 MB / 344.8 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000129/0.01994, allocations: 64.02 kB / 344.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001258/0.02006, allocations: 189.1 kB / 345 MB, free: 5.918 MB / 314.7 MB Notification: Performance of Backend: time 5.11e-07/0.02006, allocations: 8 kB / 345 MB, free: 5.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.02201, allocations: 0.6146 MB / 345.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of SimCode: time 0.001601/0.02361, allocations: 1.38 MB / 347 MB, free: 4.043 MB / 314.7 MB Notification: Performance of Templates: time 0.01021/0.03382, allocations: 5.53 MB / 352.6 MB, free: 14.56 MB / 330.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.8989160652272403]