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.001326/0.001326, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.00144/0.00144, allocations: 170 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.9051/0.9051, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.004958/0.004958, allocations: 1.192 MB / 261.5 MB, free: 11.75 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.302e-06/1.302e-06, allocations: 0 / 331.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.256e-05, allocations: 2.312 kB / 331.6 MB, free: 18.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.003276/0.003289, allocations: 4.403 MB / 336 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.00473, allocations: 1.398 MB / 337.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.004957, allocations: 15.94 kB / 337.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.005401, allocations: 210.4 kB / 337.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.005629, allocations: 230.1 kB / 337.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.005769, allocations: 127.8 kB / 338 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.006117, allocations: 0.7035 MB / 338.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.006315, allocations: 181 kB / 338.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.006616, allocations: 403 kB / 339.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.006798, allocations: 211.4 kB / 339.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.006844, allocations: 60 kB / 339.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.006942, allocations: 75.97 kB / 339.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.006988, allocations: 131.5 kB / 339.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.007093, allocations: 219.4 kB / 339.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.007447, allocations: 454.3 kB / 340.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.007449, allocations: 4 kB / 340.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00745, allocations: 0 / 340.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.007455, allocations: 0 / 340.4 MB, free: 9.215 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0006798/0.008135, allocations: 0.897 MB / 341.3 MB, free: 8.281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.008162, allocations: 8.031 kB / 341.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.008321, allocations: 124.5 kB / 341.4 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.008582, allocations: 340.1 kB / 341.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.008606, allocations: 37.69 kB / 341.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.317e-05/0.008679, allocations: 64.5 kB / 341.8 MB, free: 7.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.008985, allocations: 443.7 kB / 342.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.009001, allocations: 192 / 342.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.009027, allocations: 24.12 kB / 342.3 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.009036, allocations: 12 kB / 342.3 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.009196, allocations: 158.7 kB / 342.4 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.0103, allocations: 1.607 MB / 344 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.0105, allocations: 178.9 kB / 344.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.01055, allocations: 75.61 kB / 344.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.01057, allocations: 4 kB / 344.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.01058, allocations: 37.92 kB / 344.3 MB, free: 5.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.172e-06/0.01058, allocations: 0 / 344.3 MB, free: 5.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007708/0.01135, allocations: 0.7535 MB / 345.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.36e-05/0.01136, allocations: 55.41 kB / 345.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.01151, allocations: 366 kB / 345.5 MB, free: 3.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.01152, allocations: 33.7 kB / 345.5 MB, free: 3.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.01161, allocations: 343.5 kB / 345.9 MB, free: 3.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.01165, allocations: 126.9 kB / 346 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.01171, allocations: 87.77 kB / 346.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.01176, allocations: 0.5195 MB / 346.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.0118, allocations: 36.97 kB / 346.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.152e-05/0.01188, allocations: 203.9 kB / 346.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.01204, allocations: 290.6 kB / 347.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01204, allocations: 4 kB / 347.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000262/0.0123, allocations: 324.4 kB / 347.4 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.01231, allocations: 8 kB / 347.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01232, allocations: 0 / 347.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.01243, allocations: 48.09 kB / 347.5 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.01259, allocations: 95.77 kB / 347.6 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005943/0.01318, allocations: 1.819 MB / 349.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.01328, allocations: 16 kB / 349.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.0133, allocations: 16 kB / 349.4 MB, free: 15.54 MB / 282.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 0.0001129/0.01341, allocations: 184.4 kB / 349.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.01346, allocations: 55.7 kB / 349.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.0135, allocations: 44.06 kB / 349.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.0135, allocations: 0 / 349.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.01351, allocations: 7.938 kB / 349.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01351, allocations: 8.016 kB / 349.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.01413, allocations: 0.6584 MB / 350.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01413, allocations: 8.031 kB / 350.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.01429, allocations: 63.91 kB / 350.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-05/0.01438, allocations: 31.66 kB / 350.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01439, allocations: 8 kB / 350.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006742/0.01506, allocations: 1.784 MB / 352.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01506, allocations: 0 / 352.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.0154, allocations: 452.1 kB / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.01547, allocations: 55.73 kB / 352.8 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.0155, allocations: 8 kB / 352.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.0156, allocations: 15.98 kB / 352.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.01564, allocations: 23.95 kB / 352.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.01565, allocations: 8.141 kB / 352.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.01576, allocations: 238.9 kB / 353.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01576, allocations: 0 / 353.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01602, allocations: 107.9 kB / 353.2 MB, free: 11.6 MB / 282.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 8.191e-05/0.0161, allocations: 115.1 kB / 353.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.01643, allocations: 375.4 kB / 353.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01643, allocations: 4.062 kB / 353.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.01659, allocations: 269.9 kB / 353.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.01689, allocations: 61.53 kB / 354 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.01838, allocations: 1.013 MB / 355 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.573e-05/0.01845, allocations: 113.8 kB / 355.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.01855, allocations: 43.25 kB / 355.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.0187, allocations: 146.2 kB / 355.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0187, allocations: 0 / 355.3 MB, free: 9.371 MB / 282.7 MB Notification: Performance of Templates: time 0.006379/0.02508, allocations: 4.369 MB / 359.7 MB, free: 5.098 MB / 282.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 & (cd run_cvode && ../ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_gbode.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_gbode.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_gbode.sim & (cd run_gbode && ../ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_gbode.pipe 2>&1) [Timeout 240] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_ida.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_ida.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_ida.sim & (cd run_ida && ../ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > ElectricBraking_ElectricBraking.Examples.Translational.DCPMBraking_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0314918463118374]