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.001523/0.001523, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.002159/0.002159, allocations: 169 kB / 23.02 MB, free: 1.555 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.8437/0.8437, allocations: 158.6 MB / 184.9 MB, free: 2.926 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.00615/0.00615, allocations: 1.435 MB / 238.7 MB, free: 13.67 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.513e-06/1.513e-06, allocations: 0 / 304.6 MB, free: 61.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.078e-05, allocations: 2.312 kB / 304.6 MB, free: 61.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002212/0.002233, allocations: 1.428 MB / 306 MB, free: 60.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002468/0.00248, allocations: 98.36 kB / 306.1 MB, free: 60 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.002519, allocations: 0 / 306.1 MB, free: 60 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.002547, allocations: 9.578 kB / 306.1 MB, free: 59.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.002594, allocations: 0.6094 kB / 306.1 MB, free: 59.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.002747, allocations: 17.78 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.00281, allocations: 29.98 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.002894, allocations: 3.906 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.002937, allocations: 12.34 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.00298, allocations: 5.938 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.002998, allocations: 2.656 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-06/0.003007, allocations: 1.281 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.003025, allocations: 14.8 kB / 306.2 MB, free: 59.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.003054, allocations: 7.484 kB / 306.2 MB, free: 59.94 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.47e-05/0.003129, allocations: 18.33 kB / 306.2 MB, free: 59.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003131, allocations: 0 / 306.2 MB, free: 59.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003132, allocations: 1.281 kB / 306.2 MB, free: 59.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.003135, allocations: 0 / 306.2 MB, free: 59.93 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.0003398/0.003475, allocations: 366 kB / 306.6 MB, free: 59.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.003512, allocations: 13.23 kB / 306.6 MB, free: 59.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.003557, allocations: 7.859 kB / 306.6 MB, free: 59.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.383e-05/0.003621, allocations: 113.1 kB / 306.7 MB, free: 59.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.003643, allocations: 5.656 kB / 306.7 MB, free: 59.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.003656, allocations: 5.344 kB / 306.7 MB, free: 59.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.003774, allocations: 53.62 kB / 306.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.003785, allocations: 192 / 306.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.003795, allocations: 1.031 kB / 306.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.003803, allocations: 5.5 kB / 306.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.003838, allocations: 10.23 kB / 306.8 MB, free: 59.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.00407, allocations: 251.5 kB / 307.1 MB, free: 59.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.004145, allocations: 39.61 kB / 307.1 MB, free: 59.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.004166, allocations: 11.06 kB / 307.1 MB, free: 59.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.004174, allocations: 5.375 kB / 307.1 MB, free: 59.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.416e-05/0.004258, allocations: 62.19 kB / 307.2 MB, free: 58.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.004259, allocations: 0 / 307.2 MB, free: 58.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.004412, allocations: 61.03 kB / 307.2 MB, free: 58.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.004433, allocations: 54.38 kB / 307.3 MB, free: 58.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.707e-05/0.00448, allocations: 161.6 kB / 307.4 MB, free: 58.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.004486, allocations: 25.7 kB / 307.5 MB, free: 58.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.004506, allocations: 134.3 kB / 307.6 MB, free: 58.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.004527, allocations: 17.8 kB / 307.6 MB, free: 58.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.004556, allocations: 24.55 kB / 307.6 MB, free: 58.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.004594, allocations: 498.6 kB / 308.1 MB, free: 58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.004608, allocations: 4.203 kB / 308.1 MB, free: 58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.472e-05/0.004633, allocations: 38.41 kB / 308.2 MB, free: 57.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.004672, allocations: 41.84 kB / 308.2 MB, free: 57.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.004674, allocations: 0 / 308.2 MB, free: 57.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.826e-05/0.004742, allocations: 54.61 kB / 308.3 MB, free: 57.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.004754, allocations: 9.375 kB / 308.3 MB, free: 57.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.004758, allocations: 1.094 kB / 308.3 MB, free: 57.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.004774, allocations: 5.188 kB / 308.3 MB, free: 57.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.004831, allocations: 13.7 kB / 308.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.004836, allocations: 1.281 kB / 308.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.004861, allocations: 8.672 kB / 308.3 MB, free: 57.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.004866, allocations: 2.188 kB / 308.3 MB, free: 57.86 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.167e-05/0.004908, allocations: 159.7 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-06/0.004917, allocations: 2.891 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.004942, allocations: 13.41 kB / 308.5 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004944, allocations: 1.469 kB / 308.5 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.004948, allocations: 0.7969 kB / 308.5 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00495, allocations: 4 kB / 308.5 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.202e-05/0.005012, allocations: 118.2 kB / 308.6 MB, free: 57.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005013, allocations: 0 / 308.6 MB, free: 57.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.005031, allocations: 9.594 kB / 308.6 MB, free: 57.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005033, allocations: 1.469 kB / 308.6 MB, free: 57.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.005038, allocations: 0 / 308.6 MB, free: 57.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.005041, allocations: 6.219 kB / 308.6 MB, free: 57.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005041, allocations: 0 / 308.6 MB, free: 57.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/0.005117, allocations: 92.16 kB / 308.7 MB, free: 57.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.005123, allocations: 5.922 kB / 308.7 MB, free: 57.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005134, allocations: 5.469 kB / 308.7 MB, free: 57.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/0.005154, allocations: 7.016 kB / 308.7 MB, free: 57.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.005187, allocations: 4.234 kB / 308.7 MB, free: 57.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.005192, allocations: 5.766 kB / 308.7 MB, free: 57.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.697e-05/0.005209, allocations: 124.7 kB / 308.9 MB, free: 57.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005209, allocations: 0 / 308.9 MB, free: 57.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.005395, allocations: 5.688 kB / 308.9 MB, free: 57.31 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 5.121e-05/0.005446, allocations: 88.45 kB / 309 MB, free: 57.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.05e-05/0.005527, allocations: 34.95 kB / 309 MB, free: 57.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005528, allocations: 4.125 kB / 309 MB, free: 57.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.005555, allocations: 16.97 kB / 309 MB, free: 57.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.005687, allocations: 7.469 kB / 309 MB, free: 57.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.0059, allocations: 117.4 kB / 309.1 MB, free: 57.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.034e-05/0.00592, allocations: 60.48 kB / 309.2 MB, free: 56.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.742e-05/0.005937, allocations: 2.969 kB / 309.2 MB, free: 56.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.005962, allocations: 10.66 kB / 309.2 MB, free: 56.98 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.005963, allocations: 4 kB / 309.2 MB, free: 56.98 MB / 282.7 MB Notification: Performance of Templates: time 0.001999/0.007962, allocations: 432.5 kB / 309.6 MB, free: 56.92 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.7922443081624806]