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.001541/0.001541, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001021/0.001021, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8175/0.8175, allocations: 158.6 MB / 186 MB, free: 2.805 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.005658/0.005658, allocations: 1.439 MB / 239.8 MB, free: 13.49 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.623e-06/1.623e-06, allocations: 0 / 305.8 MB, free: 60.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.386e-05, allocations: 2.312 kB / 305.8 MB, free: 60.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001765/0.001779, allocations: 1.413 MB / 307.3 MB, free: 59.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.001986, allocations: 98.06 kB / 307.4 MB, free: 59.87 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.002019, allocations: 1.125 kB / 307.4 MB, free: 59.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.002041, allocations: 4.703 kB / 307.4 MB, free: 59.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.912e-05/0.002081, allocations: 9.094 kB / 307.4 MB, free: 59.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.002206, allocations: 12.97 kB / 307.4 MB, free: 59.85 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.233e-05/0.002259, allocations: 30.12 kB / 307.4 MB, free: 59.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.968e-05/0.002338, allocations: 3.219 kB / 307.4 MB, free: 59.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.152e-05/0.00238, allocations: 12.47 kB / 307.4 MB, free: 59.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.002422, allocations: 14.56 kB / 307.4 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.002438, allocations: 2.844 kB / 307.4 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-06/0.002444, allocations: 1.406 kB / 307.4 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.00246, allocations: 2.359 kB / 307.4 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.002486, allocations: 13.58 kB / 307.5 MB, free: 59.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.71e-05/0.002554, allocations: 23.97 kB / 307.5 MB, free: 59.8 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.002556, allocations: 1.875 kB / 307.5 MB, free: 59.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.002558, allocations: 0.6094 kB / 307.5 MB, free: 59.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002561, allocations: 0 / 307.5 MB, free: 59.8 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.0002631/0.002824, allocations: 364.8 kB / 307.8 MB, free: 59.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.002854, allocations: 14.11 kB / 307.9 MB, free: 59.42 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.002879, allocations: 3.812 kB / 307.9 MB, free: 59.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.253e-05/0.002921, allocations: 111.6 kB / 308 MB, free: 59.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.002937, allocations: 1.781 kB / 308 MB, free: 59.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.002943, allocations: 5.875 kB / 308 MB, free: 59.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.003011, allocations: 58.59 kB / 308 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.003017, allocations: 192 / 308 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.003023, allocations: 384 / 308 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003027, allocations: 1.844 kB / 308 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.003049, allocations: 12.97 kB / 308 MB, free: 59.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.003209, allocations: 232 kB / 308.3 MB, free: 58.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.926e-05/0.003268, allocations: 33.53 kB / 308.3 MB, free: 58.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.003286, allocations: 11.5 kB / 308.3 MB, free: 58.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-06/0.003291, allocations: 5.219 kB / 308.3 MB, free: 58.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.728e-05/0.003369, allocations: 69.38 kB / 308.4 MB, free: 58.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.00337, allocations: 1.219 kB / 308.4 MB, free: 58.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001382/0.003508, allocations: 59.98 kB / 308.5 MB, free: 58.83 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.003532, allocations: 53.84 kB / 308.5 MB, free: 58.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.463e-05/0.003567, allocations: 159 kB / 308.7 MB, free: 58.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.003573, allocations: 26.45 kB / 308.7 MB, free: 58.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.003595, allocations: 133 kB / 308.8 MB, free: 58.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.003613, allocations: 18.56 kB / 308.8 MB, free: 58.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.003636, allocations: 20.16 kB / 308.9 MB, free: 58.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.003675, allocations: 0.4952 MB / 309.3 MB, free: 57.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.003683, allocations: 3.547 kB / 309.4 MB, free: 57.89 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.003702, allocations: 33.55 kB / 309.4 MB, free: 57.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.003729, allocations: 32.89 kB / 309.4 MB, free: 57.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.003732, allocations: 0.6562 kB / 309.4 MB, free: 57.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.102e-05/0.003793, allocations: 57.03 kB / 309.5 MB, free: 57.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.003806, allocations: 10.48 kB / 309.5 MB, free: 57.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.00381, allocations: 1.016 kB / 309.5 MB, free: 57.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.003821, allocations: 9.781 kB / 309.5 MB, free: 57.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.003868, allocations: 9.453 kB / 309.5 MB, free: 57.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.003871, allocations: 0.5938 kB / 309.5 MB, free: 57.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.955e-05/0.003891, allocations: 12.11 kB / 309.5 MB, free: 57.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.003895, allocations: 1.062 kB / 309.5 MB, free: 57.76 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.103e-05/0.003936, allocations: 159.5 kB / 309.7 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.003943, allocations: 3.656 kB / 309.7 MB, free: 57.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.003963, allocations: 5.094 kB / 309.7 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.003965, allocations: 5.219 kB / 309.7 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.003967, allocations: 0 / 309.7 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.003971, allocations: 5.75 kB / 309.7 MB, free: 57.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.895e-05/0.00403, allocations: 104.3 kB / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.004031, allocations: 1.188 kB / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.004046, allocations: 5.469 kB / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.004047, allocations: 3.938 kB / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.004052, allocations: 1.703 kB / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004052, allocations: 0 / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004053, allocations: 1.125 kB / 309.8 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.004115, allocations: 86.92 kB / 309.9 MB, free: 57.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.004121, allocations: 7.188 kB / 309.9 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.004128, allocations: 4.969 kB / 309.9 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.579e-05/0.004144, allocations: 3.578 kB / 309.9 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.004171, allocations: 11.28 kB / 309.9 MB, free: 57.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.004174, allocations: 1.156 kB / 309.9 MB, free: 57.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.686e-05/0.00419, allocations: 124.2 kB / 310 MB, free: 57.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00419, allocations: 1.125 kB / 310 MB, free: 57.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001208/0.004311, allocations: 4.5 kB / 310 MB, free: 57.24 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.436e-05/0.004366, allocations: 90.38 kB / 310.1 MB, free: 57.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.567e-05/0.004431, allocations: 29.19 kB / 310.2 MB, free: 57.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004433, allocations: 9.219 kB / 310.2 MB, free: 57.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.004455, allocations: 20 kB / 310.2 MB, free: 57.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.504e-05/0.00455, allocations: 7.922 kB / 310.2 MB, free: 57.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.004734, allocations: 117 kB / 310.3 MB, free: 56.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.052e-05/0.004755, allocations: 56.48 kB / 310.4 MB, free: 56.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.553e-05/0.00477, allocations: 6.438 kB / 310.4 MB, free: 56.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.004797, allocations: 69.77 kB / 310.4 MB, free: 56.85 MB / 282.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004798, allocations: 4 kB / 310.4 MB, free: 56.85 MB / 282.7 MB Notification: Performance of Templates: time 0.001711/0.006509, allocations: 486.1 kB / 310.9 MB, free: 56.78 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.5046949051320553]