Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.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.001002/0.001002, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001053/0.001053, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8511/0.8511, allocations: 158.6 MB / 185.3 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006072/0.006072, allocations: 1.439 MB / 239 MB, free: 13.73 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 304.6 MB, free: 61.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.621e-05, allocations: 2.312 kB / 304.6 MB, free: 61.4 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.005222/0.005249, allocations: 1.43 MB / 306 MB, free: 60.45 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002737/0.005522, allocations: 101.9 kB / 306.1 MB, free: 60.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.005563, allocations: 1.062 kB / 306.1 MB, free: 60.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/0.005589, allocations: 3.938 kB / 306.1 MB, free: 60.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.005631, allocations: 1.812 kB / 306.2 MB, free: 60.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.005789, allocations: 17.17 kB / 306.2 MB, free: 60.37 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.005863, allocations: 25.91 kB / 306.2 MB, free: 60.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.005957, allocations: 11.53 kB / 306.2 MB, free: 60.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.907e-05/0.006006, allocations: 13.52 kB / 306.2 MB, free: 60.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.006055, allocations: 9.922 kB / 306.2 MB, free: 60.34 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.006076, allocations: 1.438 kB / 306.2 MB, free: 60.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.006085, allocations: 2.312 kB / 306.2 MB, free: 60.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.006103, allocations: 5.766 kB / 306.2 MB, free: 60.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.006134, allocations: 7.406 kB / 306.2 MB, free: 60.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.546e-05/0.006219, allocations: 18.56 kB / 306.3 MB, free: 60.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.006223, allocations: 5.188 kB / 306.3 MB, free: 60.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006224, allocations: 0 / 306.3 MB, free: 60.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006229, allocations: 0 / 306.3 MB, free: 60.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003647/0.006594, allocations: 366.6 kB / 306.6 MB, free: 59.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.006632, allocations: 13.42 kB / 306.6 MB, free: 59.95 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.006672, allocations: 3.688 kB / 306.6 MB, free: 59.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.472e-05/0.006737, allocations: 116 kB / 306.8 MB, free: 59.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.006757, allocations: 2.625 kB / 306.8 MB, free: 59.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.006766, allocations: 1.438 kB / 306.8 MB, free: 59.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.006878, allocations: 57.38 kB / 306.8 MB, free: 59.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.006885, allocations: 7.5 kB / 306.8 MB, free: 59.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.006893, allocations: 1.469 kB / 306.8 MB, free: 59.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006901, allocations: 384 / 306.8 MB, free: 59.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.006934, allocations: 9.703 kB / 306.8 MB, free: 59.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002422/0.007176, allocations: 252.9 kB / 307.1 MB, free: 59.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.007253, allocations: 43.12 kB / 307.1 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.007276, allocations: 11.23 kB / 307.1 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.007283, allocations: 1.734 kB / 307.1 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.007386, allocations: 65.23 kB / 307.2 MB, free: 59.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.007387, allocations: 4 kB / 307.2 MB, free: 59.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001654/0.007553, allocations: 62.34 kB / 307.3 MB, free: 59.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.007577, allocations: 53.34 kB / 307.3 MB, free: 59.26 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.49e-05/0.007622, allocations: 161.7 kB / 307.5 MB, free: 59.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.007629, allocations: 27.08 kB / 307.5 MB, free: 59.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.007651, allocations: 129.4 kB / 307.6 MB, free: 58.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.007673, allocations: 13.75 kB / 307.6 MB, free: 58.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.007702, allocations: 21.09 kB / 307.7 MB, free: 58.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.003049/0.01075, allocations: 498.6 kB / 308.1 MB, free: 58.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.01077, allocations: 3.484 kB / 308.2 MB, free: 58.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.01079, allocations: 38.61 kB / 308.2 MB, free: 58.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.01083, allocations: 45.7 kB / 308.2 MB, free: 58.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01083, allocations: 0 / 308.2 MB, free: 58.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.61e-05/0.01091, allocations: 55.14 kB / 308.3 MB, free: 58.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01092, allocations: 9.031 kB / 308.3 MB, free: 58.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01093, allocations: 1.031 kB / 308.3 MB, free: 58.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01094, allocations: 1.031 kB / 308.3 MB, free: 58.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.011, allocations: 9.359 kB / 308.3 MB, free: 58.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.01101, allocations: 5.797 kB / 308.3 MB, free: 58.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.01104, allocations: 11.89 kB / 308.3 MB, free: 58.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.01104, allocations: 2.938 kB / 308.3 MB, free: 58.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,dutyCycleGenerator.offTime,$PRE.dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/0.01108, allocations: 163 kB / 308.5 MB, free: 58.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.01109, allocations: 3.219 kB / 308.5 MB, free: 58.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.01112, allocations: 9.578 kB / 308.5 MB, free: 58.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01112, allocations: 0.5625 kB / 308.5 MB, free: 58.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01112, allocations: 0.625 kB / 308.5 MB, free: 58.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01113, allocations: 1.531 kB / 308.5 MB, free: 58.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.765e-05/0.0112, allocations: 117.1 kB / 308.6 MB, free: 57.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.0112, allocations: 4 kB / 308.6 MB, free: 57.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.01121, allocations: 6.984 kB / 308.6 MB, free: 57.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.01122, allocations: 1.031 kB / 308.6 MB, free: 57.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.01122, allocations: 5.125 kB / 308.6 MB, free: 57.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01122, allocations: 7.938 kB / 308.6 MB, free: 57.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01123, allocations: 0.9844 kB / 308.6 MB, free: 57.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.313e-05/0.01131, allocations: 92.28 kB / 308.7 MB, free: 57.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.01132, allocations: 5.641 kB / 308.7 MB, free: 57.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.01133, allocations: 1.688 kB / 308.7 MB, free: 57.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.01135, allocations: 7.484 kB / 308.7 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.01138, allocations: 4.062 kB / 308.7 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.01139, allocations: 5.797 kB / 308.8 MB, free: 57.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.818e-05/0.0114, allocations: 128 kB / 308.9 MB, free: 57.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0114, allocations: 1.156 kB / 308.9 MB, free: 57.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.01158, allocations: 4.656 kB / 308.9 MB, free: 57.7 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.782e-05/0.01165, allocations: 90.08 kB / 309 MB, free: 57.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.585e-05/0.01173, allocations: 34.86 kB / 309 MB, free: 57.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01174, allocations: 0 / 309 MB, free: 57.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.01177, allocations: 15.97 kB / 309 MB, free: 57.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.01191, allocations: 7.703 kB / 309 MB, free: 57.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.01214, allocations: 121.3 kB / 309.1 MB, free: 57.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.107e-05/0.01216, allocations: 56.8 kB / 309.2 MB, free: 57.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.01218, allocations: 2.5 kB / 309.2 MB, free: 57.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.0122, allocations: 10.69 kB / 309.2 MB, free: 57.38 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0122, allocations: 1.188 kB / 309.2 MB, free: 57.38 MB / 282.7 MB Notification: Performance of Templates: time 0.00509/0.01729, allocations: 439.1 kB / 309.6 MB, free: 57.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & ./MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6822072758805007]