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.001843/0.001843, allocations: 81.5 kB / 19.44 MB, free: 344 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.002013/0.002013, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.475/1.475, allocations: 158.6 MB / 184.6 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.009324/0.009324, allocations: 1.432 MB / 238.3 MB, free: 13.72 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.373e-06/1.373e-06, allocations: 0 / 303.9 MB, free: 61.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.301e-05, allocations: 3.469 kB / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002037/0.00206, allocations: 1.393 MB / 305.3 MB, free: 60.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002423/0.002302, allocations: 97.28 kB / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.002338, allocations: 0 / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.002359, allocations: 4.781 kB / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.002413, allocations: 4.938 kB / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.002543, allocations: 13.89 kB / 305.4 MB, free: 60.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.602e-05/0.002599, allocations: 25.2 kB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.002673, allocations: 3.734 kB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.002722, allocations: 21.97 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.002765, allocations: 9.594 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.002783, allocations: 2.156 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.002792, allocations: 6.438 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.002808, allocations: 1.219 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.002837, allocations: 12.08 kB / 305.5 MB, free: 60.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.272e-05/0.00291, allocations: 26.47 kB / 305.5 MB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002912, allocations: 0 / 305.5 MB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002912, allocations: 0 / 305.5 MB, free: 60.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.002915, allocations: 1.125 kB / 305.5 MB, free: 60.23 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.0003682/0.003283, allocations: 361.6 kB / 305.9 MB, free: 59.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.003323, allocations: 13.59 kB / 305.9 MB, free: 59.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.003362, allocations: 3.781 kB / 305.9 MB, free: 59.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.021e-05/0.003422, allocations: 121.5 kB / 306 MB, free: 59.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.003441, allocations: 2.031 kB / 306 MB, free: 59.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.003451, allocations: 6.625 kB / 306 MB, free: 59.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.003564, allocations: 44.84 kB / 306.1 MB, free: 59.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003573, allocations: 192 / 306.1 MB, free: 59.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003582, allocations: 5.031 kB / 306.1 MB, free: 59.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.003585, allocations: 1.5 kB / 306.1 MB, free: 59.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.003681, allocations: 20.72 kB / 306.1 MB, free: 59.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.003931, allocations: 258.5 kB / 306.3 MB, free: 59.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.004082, allocations: 60.83 kB / 306.4 MB, free: 59.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.004133, allocations: 20.84 kB / 306.4 MB, free: 59.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.004146, allocations: 1.062 kB / 306.4 MB, free: 59.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.004281, allocations: 75.39 kB / 306.5 MB, free: 59.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.004282, allocations: 0 / 306.5 MB, free: 59.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002588/0.004541, allocations: 84.73 kB / 306.6 MB, free: 59.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.004562, allocations: 53.53 kB / 306.6 MB, free: 59.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.004616, allocations: 175.7 kB / 306.8 MB, free: 58.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.004624, allocations: 27.2 kB / 306.8 MB, free: 58.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.00465, allocations: 129 kB / 307 MB, free: 58.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.004668, allocations: 14.12 kB / 307 MB, free: 58.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.004699, allocations: 24.91 kB / 307 MB, free: 58.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.004752, allocations: 496.8 kB / 307.5 MB, free: 58.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.004799, allocations: 13.19 kB / 307.5 MB, free: 58.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.804e-05/0.004847, allocations: 39.83 kB / 307.5 MB, free: 58.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.004933, allocations: 56.45 kB / 307.6 MB, free: 58.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004935, allocations: 0 / 307.6 MB, free: 58.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001257/0.005061, allocations: 70.56 kB / 307.7 MB, free: 58.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005074, allocations: 9.891 kB / 307.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005078, allocations: 1 kB / 307.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.005092, allocations: 1.219 kB / 307.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.005162, allocations: 8.656 kB / 307.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005168, allocations: 1.891 kB / 307.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.005198, allocations: 4.312 kB / 307.7 MB, free: 58.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005203, allocations: 5.562 kB / 307.7 MB, free: 58.15 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.614e-05/0.005249, allocations: 165.4 kB / 307.8 MB, free: 57.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.005261, allocations: 9.641 kB / 307.9 MB, free: 57.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.005285, allocations: 14.88 kB / 307.9 MB, free: 57.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005286, allocations: 0 / 307.9 MB, free: 57.96 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.00529, allocations: 1.469 kB / 307.9 MB, free: 57.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005293, allocations: 0.6094 kB / 307.9 MB, free: 57.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.311e-05/0.005366, allocations: 118.7 kB / 308 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005367, allocations: 0 / 308 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.005402, allocations: 6.797 kB / 308 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.005404, allocations: 4.969 kB / 308 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.005411, allocations: 1.406 kB / 308 MB, free: 57.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.005413, allocations: 3.938 kB / 308 MB, free: 57.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.005414, allocations: 1.062 kB / 308 MB, free: 57.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.005561, allocations: 100.9 kB / 308.1 MB, free: 57.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-06/0.005569, allocations: 5.938 kB / 308.1 MB, free: 57.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.005582, allocations: 2.031 kB / 308.1 MB, free: 57.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.005617, allocations: 10.98 kB / 308.1 MB, free: 57.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.005656, allocations: 8.109 kB / 308.1 MB, free: 57.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.005661, allocations: 13.86 kB / 308.1 MB, free: 57.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.005689, allocations: 128.6 kB / 308.3 MB, free: 57.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005689, allocations: 0 / 308.3 MB, free: 57.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001799/0.005869, allocations: 5.406 kB / 308.3 MB, free: 57.58 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.797e-05/0.005927, allocations: 89.94 kB / 308.4 MB, free: 57.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.006084, allocations: 40.02 kB / 308.4 MB, free: 57.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.006086, allocations: 1.344 kB / 308.4 MB, free: 57.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.00615, allocations: 34.88 kB / 308.4 MB, free: 57.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.006284, allocations: 11.08 kB / 308.4 MB, free: 57.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.006516, allocations: 122.2 kB / 308.6 MB, free: 57.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.933e-05/0.006545, allocations: 65.61 kB / 308.6 MB, free: 57.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.065e-05/0.006566, allocations: 1.734 kB / 308.6 MB, free: 57.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.00659, allocations: 11.44 kB / 308.6 MB, free: 57.25 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006591, allocations: 0 / 308.6 MB, free: 57.25 MB / 282.7 MB Notification: Performance of Templates: time 0.00281/0.009401, allocations: 427.1 kB / 309.1 MB, free: 57.2 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: 4.300917690969072]