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.0009113/0.0009113, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009119/0.0009119, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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 0.934/0.934, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.00515/0.00515, allocations: 1.199 MB / 261.4 MB, free: 11.76 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.353e-06/1.353e-06, allocations: 0 / 331.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.227e-05, allocations: 6.312 kB / 331.6 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.MechanicalBraking): time 0.002146/0.002159, allocations: 2.477 MB / 334.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.003103, allocations: 0.9312 MB / 335 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003207, allocations: 7.938 kB / 335 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.003505, allocations: 91.28 kB / 335.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.003689, allocations: 115.1 kB / 335.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.003837, allocations: 103.8 kB / 335.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.004052, allocations: 375.3 kB / 335.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.004147, allocations: 41.23 kB / 335.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.004366, allocations: 227.5 kB / 335.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.004505, allocations: 131.6 kB / 336.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.004535, allocations: 28 kB / 336.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.004628, allocations: 83.86 kB / 336.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.004697, allocations: 71.73 kB / 336.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.004757, allocations: 107.7 kB / 336.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.004999, allocations: 283 kB / 336.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005001, allocations: 0 / 336.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005002, allocations: 0 / 336.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.005006, allocations: 4 kB / 336.6 MB, free: 12.94 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.0005059/0.005512, allocations: 0.6321 MB / 337.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.005537, allocations: 8.031 kB / 337.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.005596, allocations: 48.75 kB / 337.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.005764, allocations: 232.8 kB / 337.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.005782, allocations: 20.88 kB / 337.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.005815, allocations: 20.38 kB / 337.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.00602, allocations: 224.5 kB / 337.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006031, allocations: 8.188 kB / 337.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.006048, allocations: 8.375 kB / 337.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.006055, allocations: 7.938 kB / 337.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.006198, allocations: 121.4 kB / 337.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.007025, allocations: 0.8926 MB / 338.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.007208, allocations: 126.9 kB / 339 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.182e-05/0.007279, allocations: 59.69 kB / 339 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.007305, allocations: 8 kB / 339 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.007316, allocations: 37.39 kB / 339.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.007318, allocations: 7.938 kB / 339.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001232/0.00855, allocations: 0.748 MB / 339.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/0.008565, allocations: 59.34 kB / 339.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.008694, allocations: 268.2 kB / 340.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.008715, allocations: 33.7 kB / 340.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.008777, allocations: 199.5 kB / 340.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.008824, allocations: 95.19 kB / 340.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.008906, allocations: 75.27 kB / 340.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.008951, allocations: 0.504 MB / 341 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.009035, allocations: 55.95 kB / 341.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.009135, allocations: 145.3 kB / 341.2 MB, free: 8.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.009292, allocations: 183.7 kB / 341.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.009294, allocations: 0 / 341.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003841/0.009678, allocations: 286.2 kB / 341.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.00969, allocations: 7.984 kB / 341.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.009697, allocations: 4 kB / 341.7 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.00993, allocations: 135.8 kB / 341.8 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.01005, allocations: 43.92 kB / 341.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000307/0.01036, allocations: 0.8585 MB / 342.7 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.0105, allocations: 27.97 kB / 342.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.01052, allocations: 15.97 kB / 342.8 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 7.735e-05/0.0106, allocations: 180.5 kB / 343 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.01065, allocations: 35.8 kB / 343 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.0107, allocations: 34.27 kB / 343 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.0107, allocations: 4 kB / 343 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.01071, allocations: 0 / 343 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01071, allocations: 0 / 343 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000783/0.01149, allocations: 0.637 MB / 343.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.0115, allocations: 0 / 343.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01161, allocations: 35.98 kB / 343.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/0.01179, allocations: 127.6 kB / 343.8 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.01181, allocations: 11.98 kB / 343.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002732/0.01209, allocations: 0.8624 MB / 344.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01209, allocations: 0 / 344.7 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.01252, allocations: 459.6 kB / 345.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.0126, allocations: 51.75 kB / 345.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.01264, allocations: 8 kB / 345.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.01276, allocations: 15.98 kB / 345.2 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.01284, allocations: 51.84 kB / 345.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.01286, allocations: 11.98 kB / 345.3 MB, free: 3.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.007e-05/0.01293, allocations: 193.1 kB / 345.5 MB, free: 3.559 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01293, allocations: 4 kB / 345.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.01323, allocations: 67.94 kB / 345.5 MB, free: 3.488 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.0007297/0.01396, allocations: 344 kB / 345.9 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.01425, allocations: 173.7 kB / 346 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01426, allocations: 8.125 kB / 346.1 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01439, allocations: 110.9 kB / 346.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.01473, allocations: 64.39 kB / 346.2 MB, free: 2.902 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.0159, allocations: 0.6781 MB / 346.9 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.01595, allocations: 92 kB / 347 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.01602, allocations: 30.27 kB / 347 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.01613, allocations: 114.2 kB / 347.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01613, allocations: 0 / 347.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of Templates: time 0.007517/0.02365, allocations: 5.025 MB / 352.2 MB, free: 12.98 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 & (cd run_cvode && ../ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_gbode.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_gbode.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_gbode.sim & (cd run_gbode && ../ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_gbode.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_ida.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_ida.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_ida.sim & (cd run_ida && ../ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ElectricBraking_ElectricBraking.Examples.Translational.MechanicalBraking_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.033433496952057]