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.001349/0.001349, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001436/0.001436, allocations: 218.3 kB / 23.01 MB, free: 4.609 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.429/1.429, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.009171/0.009171, allocations: 1.966 MB / 288 MB, free: 3.848 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.002249/0.002249, allocations: 72.31 kB / 403 MB, free: 50.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.08009, allocations: 49.71 MB / 452.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.00223/0.08232, allocations: 1.397 MB / 454.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.08258, allocations: 91.75 kB / 454.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.08262, allocations: 0 / 454.2 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.08265, allocations: 3.938 kB / 454.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.08269, allocations: 7.922 kB / 454.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.08285, allocations: 11.98 kB / 454.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.08292, allocations: 27.92 kB / 454.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.083, allocations: 7.938 kB / 454.3 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.08303, allocations: 15.92 kB / 454.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.08308, allocations: 8 kB / 454.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.08309, allocations: 4 kB / 454.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.0831, allocations: 0 / 454.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.08312, allocations: 7.922 kB / 454.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.08315, allocations: 11.94 kB / 454.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.282e-05/0.08322, allocations: 27.89 kB / 454.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.08323, allocations: 0 / 454.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08323, allocations: 0 / 454.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.08323, allocations: 0 / 454.4 MB, free: 4.113 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.0003803/0.08361, allocations: 276.3 kB / 454.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.08364, allocations: 11.98 kB / 454.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.08368, allocations: 8.938 kB / 454.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.08373, allocations: 106.5 kB / 454.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.08376, allocations: 4.375 kB / 454.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.08377, allocations: 4.375 kB / 454.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.08389, allocations: 50.23 kB / 454.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.08389, allocations: 4.188 kB / 454.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.0839, allocations: 3.938 kB / 454.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.08391, allocations: 0 / 454.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.08401, allocations: 27.97 kB / 454.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.08427, allocations: 220 kB / 455.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.08442, allocations: 66.52 kB / 455.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.08447, allocations: 21 kB / 455.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.08448, allocations: 0 / 455.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.08462, allocations: 67.33 kB / 455.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.08463, allocations: 0 / 455.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002521/0.08488, allocations: 93.59 kB / 455.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.08491, allocations: 55.41 kB / 455.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.256e-05/0.08495, allocations: 97.86 kB / 455.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.08496, allocations: 25.7 kB / 455.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.08498, allocations: 92.12 kB / 455.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.085, allocations: 3.953 kB / 455.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.08502, allocations: 17.72 kB / 455.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.08508, allocations: 318.8 kB / 455.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.08513, allocations: 19.98 kB / 455.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.08519, allocations: 42.42 kB / 456 MB, free: 2.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/0.08528, allocations: 50.75 kB / 456 MB, free: 2.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.08528, allocations: 3.938 kB / 456 MB, free: 2.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001331/0.08542, allocations: 85.53 kB / 456.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.08543, allocations: 4 kB / 456.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.08543, allocations: 0 / 456.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.08545, allocations: 4 kB / 456.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.08552, allocations: 11.92 kB / 456.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.08553, allocations: 8.062 kB / 456.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.08556, allocations: 4 kB / 456.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.08556, allocations: 0 / 456.1 MB, free: 2.137 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 4.863e-05/0.08561, allocations: 121.7 kB / 456.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.08562, allocations: 0 / 456.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.08564, allocations: 15.67 kB / 456.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.08564, allocations: 0 / 456.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.08565, allocations: 0 / 456.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.08565, allocations: 0 / 456.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.878e-05/0.08573, allocations: 144.7 kB / 456.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.08573, allocations: 0 / 456.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.08577, allocations: 4.375 kB / 456.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.08577, allocations: 0 / 456.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.08578, allocations: 4 kB / 456.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.08578, allocations: 4 kB / 456.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.08578, allocations: 0 / 456.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.08592, allocations: 112.9 kB / 456.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.08593, allocations: 4 kB / 456.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.08594, allocations: 0 / 456.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.08598, allocations: 7.984 kB / 456.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.08601, allocations: 0 / 456.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.08602, allocations: 0 / 456.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.177e-05/0.08604, allocations: 87.27 kB / 456.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08604, allocations: 0 / 456.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001817/0.08622, allocations: 8 kB / 456.6 MB, free: 1.555 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 5.768e-05/0.08628, allocations: 91.25 kB / 456.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.08644, allocations: 43.91 kB / 456.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08644, allocations: 3.938 kB / 456.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.0865, allocations: 23.92 kB / 456.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.08664, allocations: 7.938 kB / 456.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.08689, allocations: 145.2 kB / 456.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.967e-05/0.08698, allocations: 0.6807 MB / 457.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.08701, allocations: 7.438 kB / 457.6 MB, free: 500 kB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.08701, allocations: 0 / 457.6 MB, free: 500 kB / 318.1 MB Notification: Performance of Templates: time 0.001992/0.089, allocations: 0.6097 MB / 458.2 MB, free: 15.88 MB / 334.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: 6.623516312101856] Failed to read output from testmodel.py, exit status != 0: 0.09664722997695208 0.11175929100000001 0.025487275 Calling exit ...