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.001252/0.001252, allocations: 77.14 kB / 20.67 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.001541/0.001541, allocations: 165 kB / 24.06 MB, free: 456 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 0.9951/0.9951, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.004937/0.004937, allocations: 1.187 MB / 262.2 MB, free: 11.77 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.353e-06/1.353e-06, allocations: 0 / 332.4 MB, free: 18.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024e-05/1.159e-05, allocations: 2.312 kB / 332.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.DCPMBraking): time 0.00424/0.004251, allocations: 4.409 MB / 336.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.00622, allocations: 1.398 MB / 338.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.006526, allocations: 11.94 kB / 338.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.007112, allocations: 214.4 kB / 338.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.007451, allocations: 218.2 kB / 338.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.007661, allocations: 131.8 kB / 338.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.008199, allocations: 0.6996 MB / 339.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.00847, allocations: 177.1 kB / 339.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.008905, allocations: 415 kB / 340 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.009171, allocations: 211.3 kB / 340.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.221e-05/0.009233, allocations: 60 kB / 340.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.009353, allocations: 76 kB / 340.4 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.009419, allocations: 135.5 kB / 340.5 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.009572, allocations: 211.5 kB / 340.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.01004, allocations: 454.3 kB / 341.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01004, allocations: 4 kB / 341.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.01005, allocations: 0 / 341.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.01005, allocations: 4 kB / 341.1 MB, free: 9.191 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.000918/0.01097, allocations: 0.9009 MB / 342.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01101, allocations: 8.031 kB / 342.1 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.01123, allocations: 128.4 kB / 342.2 MB, free: 8.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.01158, allocations: 340.1 kB / 342.5 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.01161, allocations: 37.69 kB / 342.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.01171, allocations: 64.5 kB / 342.6 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.01215, allocations: 431.8 kB / 343 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.01217, allocations: 8.125 kB / 343 MB, free: 7.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.01221, allocations: 24.12 kB / 343.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.01222, allocations: 16 kB / 343.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.01246, allocations: 138.9 kB / 343.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.01399, allocations: 1.622 MB / 344.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.01425, allocations: 174.9 kB / 345 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.01433, allocations: 67.64 kB / 345.1 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01435, allocations: 11.98 kB / 345.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.01437, allocations: 41.92 kB / 345.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.01437, allocations: 0 / 345.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001056/0.01542, allocations: 0.7496 MB / 345.9 MB, free: 4.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.281e-05/0.01544, allocations: 55.41 kB / 345.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.01565, allocations: 362 kB / 346.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.01567, allocations: 33.7 kB / 346.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01579, allocations: 339.5 kB / 346.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.01585, allocations: 134.9 kB / 346.8 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.01594, allocations: 83.77 kB / 346.9 MB, free: 3.156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.01601, allocations: 0.5195 MB / 347.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.01607, allocations: 44.95 kB / 347.4 MB, free: 2.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.01619, allocations: 203.8 kB / 347.6 MB, free: 2.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.0164, allocations: 278.8 kB / 347.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.0164, allocations: 7.938 kB / 347.9 MB, free: 1.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003823/0.01678, allocations: 324.3 kB / 348.2 MB, free: 1.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.0168, allocations: 10.66 kB / 348.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.0168, allocations: 7.938 kB / 348.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.01696, allocations: 52.08 kB / 348.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.01719, allocations: 79.91 kB / 348.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008027/0.01799, allocations: 1.831 MB / 350.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.01815, allocations: 11.98 kB / 350.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.01817, allocations: 16 kB / 350.2 MB, free: 15.52 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.0001438/0.01831, allocations: 184.5 kB / 350.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.01838, allocations: 51.7 kB / 350.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.01844, allocations: 44.06 kB / 350.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01845, allocations: 4.031 kB / 350.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01845, allocations: 0 / 350.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.412e-05/0.01855, allocations: 55.73 kB / 350.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.01859, allocations: 15.92 kB / 350.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.01874, allocations: 12 kB / 350.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.01879, allocations: 23.95 kB / 350.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005132/0.0193, allocations: 364 kB / 351 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004611/0.01976, allocations: 0.5347 MB / 351.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001083/0.01987, allocations: 71.61 kB / 351.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.02004, allocations: 234.9 kB / 351.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of Backend: time 5.31e-07/0.02004, allocations: 0 / 351.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.02081, allocations: 436.1 kB / 352.2 MB, free: 13.44 MB / 282.7 MB Notification: Performance of SimCode: time 0.002124/0.02293, allocations: 1.797 MB / 354 MB, free: 11.59 MB / 282.7 MB Notification: Performance of Templates: time 0.008233/0.03116, allocations: 5.171 MB / 359.2 MB, free: 6.508 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 & ./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.84291473031044]