Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.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.0009816/0.0009816, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002381, 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.0009972/0.0009972, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001345/0.002342, 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 1.061/1.061, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09016/1.151, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.004585/0.004585, allocations: 1.185 MB / 245.3 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.00577, allocations: 0.8265 MB / 246.2 MB, free: 12.79 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.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") translateModel(ElectricBraking.Examples.Translational.DCPMBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 247.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.107e-05, allocations: 6.25 kB / 247.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.004189/0.0042, allocations: 4.484 MB / 251.9 MB, free: 6.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.005903, allocations: 1.456 MB / 253.4 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.006099, allocations: 11.94 kB / 253.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.006503, allocations: 226.3 kB / 253.6 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.006748, allocations: 218.2 kB / 253.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.006896, allocations: 131.8 kB / 254 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.007369, allocations: 0.7075 MB / 254.7 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.007617, allocations: 183 kB / 254.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.008051, allocations: 458.1 kB / 255.3 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.008293, allocations: 211.3 kB / 255.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.008353, allocations: 60 kB / 255.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.008491, allocations: 79.98 kB / 255.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.008553, allocations: 103.6 kB / 255.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.008671, allocations: 175.7 kB / 255.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.009168, allocations: 438.3 kB / 256.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.009183, allocations: 0 / 256.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.009184, allocations: 0 / 256.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.009199, allocations: 0 / 256.3 MB, free: 2.547 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008708/0.01007, allocations: 0.8815 MB / 257.2 MB, free: 1.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.0101, allocations: 11.98 kB / 257.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.01032, allocations: 178 kB / 257.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.01063, allocations: 277.4 kB / 257.7 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.01066, allocations: 37.69 kB / 257.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.01077, allocations: 60.48 kB / 257.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.01114, allocations: 436.4 kB / 258.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.01116, allocations: 8.125 kB / 258.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.0112, allocations: 28.12 kB / 258.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01121, allocations: 12 kB / 258.3 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.01138, allocations: 134.9 kB / 258.4 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.01263, allocations: 1.253 MB / 259.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.01287, allocations: 165.2 kB / 259.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.01293, allocations: 56.83 kB / 259.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.01295, allocations: 4 kB / 259.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.01297, allocations: 34.56 kB / 259.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/0.01298, allocations: 3.828 kB / 259.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001028/0.014, allocations: 0.7368 MB / 260.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.01403, allocations: 59.27 kB / 260.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.0142, allocations: 298.8 kB / 261 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01422, allocations: 29.7 kB / 261 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01432, allocations: 265.4 kB / 261.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.01438, allocations: 130.9 kB / 261.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.01445, allocations: 82.11 kB / 261.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01456, allocations: 350.7 kB / 261.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.01462, allocations: 32.98 kB / 261.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.01477, allocations: 158.6 kB / 262 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.01494, allocations: 237.4 kB / 262.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01494, allocations: 3.938 kB / 262.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002632/0.01521, allocations: 262 kB / 262.5 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01522, allocations: 4 kB / 262.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01523, allocations: 4 kB / 262.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/0.01536, allocations: 49.2 kB / 262.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.01558, allocations: 107.8 kB / 262.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006727/0.01626, allocations: 1.265 MB / 263.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.526e-05/0.01635, allocations: 16 kB / 263.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01636, allocations: 8 kB / 263.9 MB, free: 10.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (switch.control,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.98e-05/0.01646, allocations: 141.7 kB / 264.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.0165, allocations: 39.91 kB / 264.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.01654, allocations: 40.11 kB / 264.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01655, allocations: 7.984 kB / 264.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01655, allocations: 3.984 kB / 264.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01656, allocations: 4 kB / 264.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.01708, allocations: 0.4936 MB / 264.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01708, allocations: 8.031 kB / 264.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/0.01727, allocations: 75.89 kB / 264.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.01733, allocations: 35.77 kB / 264.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.182e-05/0.01741, allocations: 32.77 kB / 264.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01742, allocations: 12 kB / 264.8 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005525/0.01798, allocations: 1.221 MB / 266.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01798, allocations: 4.078 kB / 266.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.01825, allocations: 346.4 kB / 266.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.01827, allocations: 8 kB / 266.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.01836, allocations: 15.98 kB / 266.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.0184, allocations: 23.98 kB / 266.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01841, allocations: 12 kB / 266.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.231e-05/0.0185, allocations: 116.5 kB / 266.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0185, allocations: 0 / 266.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01873, allocations: 108 kB / 266.7 MB, free: 7.578 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T,dcpm.armatureInductance.i) * Number of discrete variables: 1 (switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.104e-05/0.01882, allocations: 92.34 kB / 266.8 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002994/0.01912, allocations: 309.5 kB / 267.1 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.01913, allocations: 15.92 kB / 267.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.01929, allocations: 223.3 kB / 267.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.01973, allocations: 0.64 MB / 267.9 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.0248, allocations: 1.01 MB / 269 MB, free: 5.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.02489, allocations: 122 kB / 269.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.02501, allocations: 43.25 kB / 269.1 MB, free: 4.914 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.02516, allocations: 119.3 kB / 269.2 MB, free: 4.797 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02516, allocations: 0 / 269.2 MB, free: 4.797 MB / 266.7 MB Notification: Performance of Templates: time 0.007108/0.03227, allocations: 4.528 MB / 273.8 MB, free: 372 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6692092595621943]