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.001374/0.001374, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001613/0.001613, allocations: 207.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.422/1.422, allocations: 207.7 MB / 233.1 MB, free: 9.777 MB / 190.1 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.009011/0.009011, allocations: 1.962 MB / 287.3 MB, free: 3.664 MB / 222.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 73.11 kB / 402.3 MB, free: 50.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.0899, allocations: 49.71 MB / 452 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002262/0.09217, allocations: 1.389 MB / 453.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000288/0.09245, allocations: 91.73 kB / 453.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.0925, allocations: 0 / 453.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.09252, allocations: 0 / 453.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.09258, allocations: 11.94 kB / 453.5 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.09276, allocations: 15.86 kB / 453.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.09282, allocations: 27.92 kB / 453.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.09292, allocations: 7.938 kB / 453.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.09295, allocations: 8 kB / 453.5 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.093, allocations: 7.922 kB / 453.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.09302, allocations: 4 kB / 453.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.09303, allocations: 4 kB / 453.5 MB, free: 4 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.09305, allocations: 7.984 kB / 453.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.09309, allocations: 19.92 kB / 453.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.37e-05/0.09318, allocations: 15.92 kB / 453.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09318, allocations: 3.938 kB / 453.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.09318, allocations: 0 / 453.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.09319, allocations: 0 / 453.6 MB, free: 3.953 MB / 318.1 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.0004686/0.09365, allocations: 268.3 kB / 453.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.09369, allocations: 15.98 kB / 453.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.09373, allocations: 0.9375 kB / 453.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.461e-05/0.09379, allocations: 114.5 kB / 454 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.09382, allocations: 4.312 kB / 454 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.09383, allocations: 12.38 kB / 454 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.09397, allocations: 42.25 kB / 454 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.09398, allocations: 4.188 kB / 454 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.09399, allocations: 7.922 kB / 454 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.094, allocations: 0 / 454 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.09411, allocations: 19.98 kB / 454.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.0944, allocations: 200.6 kB / 454.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.09457, allocations: 58.48 kB / 454.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.09463, allocations: 25 kB / 454.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.09465, allocations: 3.938 kB / 454.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.09485, allocations: 67.38 kB / 454.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.09485, allocations: 0 / 454.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002904/0.09515, allocations: 89.55 kB / 454.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.09519, allocations: 63.39 kB / 454.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.09523, allocations: 97.86 kB / 454.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.09524, allocations: 29.7 kB / 454.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.09527, allocations: 84.14 kB / 454.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.0953, allocations: 11.92 kB / 454.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/0.09533, allocations: 17.72 kB / 454.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.914e-05/0.09538, allocations: 318.8 kB / 455.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.09543, allocations: 11.98 kB / 455.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.776e-05/0.09549, allocations: 34.56 kB / 455.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.09559, allocations: 58.67 kB / 455.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09559, allocations: 0 / 455.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001398/0.09573, allocations: 85.47 kB / 455.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.09574, allocations: 4 kB / 455.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.09575, allocations: 4 kB / 455.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.09576, allocations: 64 / 455.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.09584, allocations: 12.38 kB / 455.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.09584, allocations: 0 / 455.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.09588, allocations: 7.984 kB / 455.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.09589, allocations: 12 kB / 455.3 MB, free: 2.012 MB / 318.1 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 5.439e-05/0.09594, allocations: 117.7 kB / 455.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.09595, allocations: 7.938 kB / 455.5 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.09597, allocations: 7.688 kB / 455.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.09597, allocations: 0 / 455.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.09598, allocations: 0 / 455.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.09598, allocations: 7.984 kB / 455.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.91e-05/0.09605, allocations: 105.3 kB / 455.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.09605, allocations: 0 / 455.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.09609, allocations: 15.92 kB / 455.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.09609, allocations: 3.938 kB / 455.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.0961, allocations: 0 / 455.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.0961, allocations: 0 / 455.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.0961, allocations: 0 / 455.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.09626, allocations: 101 kB / 455.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.09626, allocations: 7.938 kB / 455.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.09628, allocations: 4 kB / 455.7 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.024e-05/0.09633, allocations: 11.92 kB / 455.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.09637, allocations: 4 kB / 455.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.09637, allocations: 0 / 455.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.09639, allocations: 87.27 kB / 455.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09639, allocations: 0 / 455.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.09658, allocations: 4 kB / 455.8 MB, free: 1.469 MB / 318.1 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 6.248e-05/0.09664, allocations: 91.25 kB / 455.9 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.09681, allocations: 39.97 kB / 455.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.09681, allocations: 3.938 kB / 455.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.613e-05/0.09688, allocations: 19.98 kB / 456 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.09702, allocations: 4 kB / 456 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.09729, allocations: 121.6 kB / 456.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.09732, allocations: 59.36 kB / 456.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.453e-05/0.09735, allocations: 8.109 kB / 456.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.09737, allocations: 11.44 kB / 456.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09737, allocations: 0 / 456.2 MB, free: 1.059 MB / 318.1 MB Notification: Performance of Templates: time 0.002672/0.1, allocations: 426 kB / 456.6 MB, free: 0.6484 MB / 318.1 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=480 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.430940369144082] Failed to read output from testmodel.py, exit status != 0: 0.10777170397341251 0.12372171800000001 0.027389654000000003 Calling exit ...