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.0009965/0.0009965, allocations: 92.22 kB / 19.65 MB, free: 276 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.001063/0.001063, allocations: 173 kB / 23.03 MB, free: 1.543 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.8211/0.8211, allocations: 158.6 MB / 184.9 MB, free: 2.914 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.006141/0.006141, allocations: 1.443 MB / 238.7 MB, free: 13.66 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.203e-06/1.203e-06, allocations: 0 / 304.6 MB, free: 61.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.578e-05, allocations: 5.094 kB / 304.6 MB, free: 61.03 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.00186/0.001886, allocations: 1.412 MB / 306 MB, free: 60.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.002146, allocations: 102.5 kB / 306.1 MB, free: 60.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.002185, allocations: 4 kB / 306.1 MB, free: 60.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.002213, allocations: 5.062 kB / 306.1 MB, free: 60.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.002259, allocations: 0.6562 kB / 306.1 MB, free: 60.01 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002412, allocations: 17.98 kB / 306.1 MB, free: 60 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.002476, allocations: 29.5 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.002554, allocations: 4.219 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.002596, allocations: 11.48 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.00264, allocations: 10.27 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.00266, allocations: 2.219 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.002669, allocations: 2.031 kB / 306.2 MB, free: 59.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.002687, allocations: 11.09 kB / 306.2 MB, free: 59.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.002716, allocations: 7.797 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.002795, allocations: 17.47 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.002798, allocations: 2.438 kB / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.002799, allocations: 0 / 306.2 MB, free: 59.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.002804, allocations: 0 / 306.2 MB, free: 59.96 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.0003683/0.003172, allocations: 365.5 kB / 306.6 MB, free: 59.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.003209, allocations: 13.44 kB / 306.6 MB, free: 59.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.003249, allocations: 7.094 kB / 306.6 MB, free: 59.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.726e-05/0.003306, allocations: 115.8 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.003325, allocations: 6.188 kB / 306.7 MB, free: 59.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.003335, allocations: 6.141 kB / 306.7 MB, free: 59.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.003437, allocations: 58.02 kB / 306.8 MB, free: 59.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.003444, allocations: 192 / 306.8 MB, free: 59.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.003453, allocations: 384 / 306.8 MB, free: 59.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.00346, allocations: 1.625 kB / 306.8 MB, free: 59.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.003489, allocations: 13.56 kB / 306.8 MB, free: 59.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.003721, allocations: 257.1 kB / 307.1 MB, free: 59.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.003792, allocations: 37.83 kB / 307.1 MB, free: 59.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.003812, allocations: 16.03 kB / 307.1 MB, free: 59.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.003819, allocations: 1.094 kB / 307.1 MB, free: 59.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.677e-05/0.003905, allocations: 61.39 kB / 307.2 MB, free: 58.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.003907, allocations: 0 / 307.2 MB, free: 58.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001509/0.004058, allocations: 62.36 kB / 307.2 MB, free: 58.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.004082, allocations: 53.39 kB / 307.3 MB, free: 58.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.01e-05/0.004122, allocations: 162.4 kB / 307.5 MB, free: 58.72 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-06/0.004128, allocations: 26.77 kB / 307.5 MB, free: 58.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.004148, allocations: 128.5 kB / 307.6 MB, free: 58.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.004168, allocations: 17.58 kB / 307.6 MB, free: 58.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.004193, allocations: 25.62 kB / 307.6 MB, free: 58.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.004229, allocations: 498.7 kB / 308.1 MB, free: 58.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.004241, allocations: 3.453 kB / 308.1 MB, free: 58.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.004263, allocations: 37.62 kB / 308.2 MB, free: 57.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.004299, allocations: 38.56 kB / 308.2 MB, free: 57.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.0043, allocations: 0 / 308.2 MB, free: 57.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.974e-05/0.00436, allocations: 54.36 kB / 308.3 MB, free: 57.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.004373, allocations: 10.53 kB / 308.3 MB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004378, allocations: 1.469 kB / 308.3 MB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.00439, allocations: 4.062 kB / 308.3 MB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.004446, allocations: 13.31 kB / 308.3 MB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.004451, allocations: 1.375 kB / 308.3 MB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.004471, allocations: 8.391 kB / 308.3 MB, free: 57.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.004477, allocations: 3.812 kB / 308.3 MB, free: 57.88 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.141e-05/0.004518, allocations: 158 kB / 308.5 MB, free: 57.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.004526, allocations: 3.984 kB / 308.5 MB, free: 57.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.004548, allocations: 10.05 kB / 308.5 MB, free: 57.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.00455, allocations: 240 / 308.5 MB, free: 57.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.004553, allocations: 5.406 kB / 308.5 MB, free: 57.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.004557, allocations: 3.984 kB / 308.5 MB, free: 57.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.98e-05/0.004617, allocations: 117.7 kB / 308.6 MB, free: 57.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.004618, allocations: 1.031 kB / 308.6 MB, free: 57.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.004633, allocations: 4.906 kB / 308.6 MB, free: 57.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004634, allocations: 9.625 kB / 308.6 MB, free: 57.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.004641, allocations: 1.375 kB / 308.6 MB, free: 57.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.004643, allocations: 4.594 kB / 308.6 MB, free: 57.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004644, allocations: 0 / 308.6 MB, free: 57.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.1e-05/0.004715, allocations: 92.17 kB / 308.7 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.004721, allocations: 7.047 kB / 308.7 MB, free: 57.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.004731, allocations: 5 kB / 308.7 MB, free: 57.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.004748, allocations: 7.5 kB / 308.7 MB, free: 57.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.004784, allocations: 3.266 kB / 308.7 MB, free: 57.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.004788, allocations: 2.219 kB / 308.7 MB, free: 57.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.071e-05/0.004809, allocations: 128.2 kB / 308.9 MB, free: 57.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004809, allocations: 0 / 308.9 MB, free: 57.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001165/0.004926, allocations: 5.469 kB / 308.9 MB, free: 57.33 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.009e-05/0.004976, allocations: 90.25 kB / 309 MB, free: 57.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.005058, allocations: 33.52 kB / 309 MB, free: 57.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005059, allocations: 5.156 kB / 309 MB, free: 57.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.005084, allocations: 16.89 kB / 309 MB, free: 57.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.005187, allocations: 6.922 kB / 309 MB, free: 57.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.005406, allocations: 119 kB / 309.1 MB, free: 57.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.786e-05/0.005424, allocations: 59.36 kB / 309.2 MB, free: 57.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.005439, allocations: 3.25 kB / 309.2 MB, free: 57.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.005462, allocations: 10.44 kB / 309.2 MB, free: 57 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005462, allocations: 4.875 kB / 309.2 MB, free: 57 MB / 282.7 MB Notification: Performance of Templates: time 0.002003/0.007466, allocations: 448.1 kB / 309.6 MB, free: 56.94 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.4960779389366508]