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.0008997/0.0008997, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001035/0.001035, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.8201/0.8201, allocations: 158.6 MB / 185.2 MB, free: 2.777 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.005929/0.005929, allocations: 1.432 MB / 239 MB, free: 13.37 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.533e-06/1.533e-06, allocations: 0 / 305 MB, free: 60.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.459e-05, allocations: 3.375 kB / 305.1 MB, free: 60.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001882/0.001896, allocations: 1.417 MB / 306.5 MB, free: 59.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002187/0.002115, allocations: 98.16 kB / 306.6 MB, free: 59.78 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.002151, allocations: 1.062 kB / 306.6 MB, free: 59.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.002176, allocations: 4.688 kB / 306.6 MB, free: 59.78 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.002222, allocations: 5.062 kB / 306.6 MB, free: 59.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.002354, allocations: 21.47 kB / 306.6 MB, free: 59.76 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.002407, allocations: 25.53 kB / 306.6 MB, free: 59.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.002478, allocations: 3.703 kB / 306.6 MB, free: 59.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.002521, allocations: 12.88 kB / 306.6 MB, free: 59.74 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.002564, allocations: 9.766 kB / 306.6 MB, free: 59.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.00258, allocations: 6.312 kB / 306.7 MB, free: 59.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.002587, allocations: 2.344 kB / 306.7 MB, free: 59.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.002603, allocations: 6.641 kB / 306.7 MB, free: 59.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.002624, allocations: 7.625 kB / 306.7 MB, free: 59.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.076e-05/0.002695, allocations: 22.3 kB / 306.7 MB, free: 59.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002697, allocations: 0 / 306.7 MB, free: 59.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.002698, allocations: 1.156 kB / 306.7 MB, free: 59.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.002702, allocations: 0 / 306.7 MB, free: 59.71 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.0002852/0.002987, allocations: 365.6 kB / 307 MB, free: 59.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.003023, allocations: 18.33 kB / 307.1 MB, free: 59.33 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.003047, allocations: 4.125 kB / 307.1 MB, free: 59.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.57e-05/0.003093, allocations: 115.7 kB / 307.2 MB, free: 59.2 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.003107, allocations: 1.562 kB / 307.2 MB, free: 59.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.003113, allocations: 1.656 kB / 307.2 MB, free: 59.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.003192, allocations: 56.52 kB / 307.2 MB, free: 59.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.003199, allocations: 1.469 kB / 307.2 MB, free: 59.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.003205, allocations: 1.266 kB / 307.2 MB, free: 59.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.00321, allocations: 384 / 307.2 MB, free: 59.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.003235, allocations: 9.484 kB / 307.3 MB, free: 59.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.003417, allocations: 239.2 kB / 307.5 MB, free: 58.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.003475, allocations: 39.11 kB / 307.5 MB, free: 58.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.003487, allocations: 10.81 kB / 307.5 MB, free: 58.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.003495, allocations: 1.578 kB / 307.5 MB, free: 58.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/0.00357, allocations: 65.47 kB / 307.6 MB, free: 58.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.003571, allocations: 0 / 307.6 MB, free: 58.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001148/0.003686, allocations: 60.36 kB / 307.7 MB, free: 58.74 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.003709, allocations: 53.77 kB / 307.7 MB, free: 58.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.003756, allocations: 157 kB / 307.9 MB, free: 58.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.003763, allocations: 27.14 kB / 307.9 MB, free: 58.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.003789, allocations: 136.9 kB / 308 MB, free: 58.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.003812, allocations: 18.45 kB / 308 MB, free: 58.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.003844, allocations: 20.47 kB / 308.1 MB, free: 58.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.003911, allocations: 499.7 kB / 308.6 MB, free: 57.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.003925, allocations: 3.547 kB / 308.6 MB, free: 57.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.003947, allocations: 33.28 kB / 308.6 MB, free: 57.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.015e-05/0.003987, allocations: 41.08 kB / 308.6 MB, free: 57.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003989, allocations: 0 / 308.6 MB, free: 57.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.369e-05/0.004052, allocations: 62.19 kB / 308.7 MB, free: 57.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.004063, allocations: 4.438 kB / 308.7 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004068, allocations: 2.484 kB / 308.7 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004079, allocations: 5.312 kB / 308.7 MB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.004127, allocations: 13.55 kB / 308.7 MB, free: 57.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.004131, allocations: 1.094 kB / 308.7 MB, free: 57.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.004148, allocations: 7.469 kB / 308.7 MB, free: 57.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.004153, allocations: 1.156 kB / 308.7 MB, free: 57.67 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.195e-05/0.004194, allocations: 160.7 kB / 308.9 MB, free: 57.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.004203, allocations: 2.891 kB / 308.9 MB, free: 57.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.004228, allocations: 9.234 kB / 308.9 MB, free: 57.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.00423, allocations: 5.609 kB / 308.9 MB, free: 57.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.004231, allocations: 0 / 308.9 MB, free: 57.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004234, allocations: 1.125 kB / 308.9 MB, free: 57.49 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.004296, allocations: 104.5 kB / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004297, allocations: 1.125 kB / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/0.00431, allocations: 5.281 kB / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.004313, allocations: 2.391 kB / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.004316, allocations: 0 / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004317, allocations: 0.5625 kB / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.004318, allocations: 4 kB / 309 MB, free: 57.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.39e-05/0.004382, allocations: 92.19 kB / 309.1 MB, free: 57.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.004389, allocations: 6.375 kB / 309.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.004396, allocations: 1.641 kB / 309.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.004413, allocations: 7.203 kB / 309.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.004437, allocations: 7.859 kB / 309.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.004441, allocations: 2.484 kB / 309.1 MB, free: 57.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.744e-05/0.004459, allocations: 126.9 kB / 309.3 MB, free: 57.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004459, allocations: 0 / 309.3 MB, free: 57.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000114/0.004573, allocations: 6.406 kB / 309.3 MB, free: 57.14 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.861e-05/0.004631, allocations: 92.56 kB / 309.4 MB, free: 57.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.004697, allocations: 33.86 kB / 309.4 MB, free: 57.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.004698, allocations: 0.5625 kB / 309.4 MB, free: 57.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.004722, allocations: 20.06 kB / 309.4 MB, free: 57.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.887e-05/0.004821, allocations: 12.11 kB / 309.4 MB, free: 57.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001759/0.004997, allocations: 117.1 kB / 309.5 MB, free: 56.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.895e-05/0.005015, allocations: 56.23 kB / 309.6 MB, free: 56.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.474e-05/0.00503, allocations: 6.328 kB / 309.6 MB, free: 56.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.005058, allocations: 70.2 kB / 309.7 MB, free: 56.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005059, allocations: 3.938 kB / 309.7 MB, free: 56.75 MB / 282.7 MB Notification: Performance of Templates: time 0.001883/0.006942, allocations: 475.9 kB / 310.1 MB, free: 56.68 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.532955410890281]