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.00156/0.00156, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001396/0.001396, allocations: 213.5 kB / 22.25 MB, free: 5.125 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.376/1.376, allocations: 207.6 MB / 233 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.009091/0.009091, allocations: 1.962 MB / 287.2 MB, free: 3.855 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.002164/0.002164, allocations: 76.33 kB / 402.3 MB, free: 50.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07794/0.08011, allocations: 49.7 MB / 452 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002005/0.08211, allocations: 1.401 MB / 453.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.08236, allocations: 99.72 kB / 453.5 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.0824, allocations: 4 kB / 453.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.08243, allocations: 3.938 kB / 453.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.599e-05/0.08246, allocations: 0 / 453.5 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.0826, allocations: 15.92 kB / 453.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.08266, allocations: 23.94 kB / 453.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.408e-05/0.08274, allocations: 7.922 kB / 453.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.08277, allocations: 15.94 kB / 453.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.08282, allocations: 11.97 kB / 453.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.08283, allocations: 7.938 kB / 453.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.08284, allocations: 0 / 453.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.08286, allocations: 8 kB / 453.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.08288, allocations: 7.938 kB / 453.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.042e-05/0.08296, allocations: 23.91 kB / 453.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.08296, allocations: 0 / 453.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.08296, allocations: 0 / 453.6 MB, free: 4.133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.08296, allocations: 0 / 453.6 MB, free: 4.133 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.0003874/0.08335, allocations: 266.3 kB / 453.9 MB, free: 3.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.08339, allocations: 11.98 kB / 453.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.08342, allocations: 8.938 kB / 453.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.697e-05/0.08348, allocations: 118.4 kB / 454 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.08349, allocations: 384 / 454 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.08351, allocations: 384 / 454 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.08362, allocations: 50.23 kB / 454 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.08363, allocations: 192 / 454 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.08364, allocations: 3.938 kB / 454.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.08364, allocations: 0 / 454.1 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.08374, allocations: 31.97 kB / 454.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.08398, allocations: 224 kB / 454.3 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.08412, allocations: 58.48 kB / 454.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.08417, allocations: 21 kB / 454.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.08418, allocations: 3.938 kB / 454.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.08431, allocations: 71.38 kB / 454.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.08431, allocations: 0 / 454.5 MB, free: 3.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002537/0.08457, allocations: 93.55 kB / 454.5 MB, free: 3.055 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.08459, allocations: 55.39 kB / 454.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.03e-05/0.08463, allocations: 105.8 kB / 454.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.08463, allocations: 29.7 kB / 454.7 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.08465, allocations: 84.14 kB / 454.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.08467, allocations: 3.953 kB / 454.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.0847, allocations: 17.72 kB / 454.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.08473, allocations: 322.8 kB / 455.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.08478, allocations: 15.98 kB / 455.2 MB, free: 2.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.08483, allocations: 38.94 kB / 455.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.167e-05/0.08493, allocations: 54.48 kB / 455.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.08493, allocations: 3.938 kB / 455.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001301/0.08506, allocations: 81.83 kB / 455.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.08507, allocations: 4 kB / 455.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.08507, allocations: 0 / 455.3 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.08509, allocations: 4 kB / 455.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.045e-05/0.08515, allocations: 11.98 kB / 455.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.08515, allocations: 3.938 kB / 455.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.08518, allocations: 11.97 kB / 455.4 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-06/0.08519, allocations: 0 / 455.4 MB, free: 2.152 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.514e-05/0.08523, allocations: 121.7 kB / 455.5 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-06/0.08524, allocations: 4.031 kB / 455.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.08526, allocations: 11.69 kB / 455.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.08526, allocations: 0 / 455.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.08527, allocations: 0 / 455.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.08527, allocations: 0 / 455.5 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.479e-05/0.08534, allocations: 136.7 kB / 455.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.08534, allocations: 0 / 455.6 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.08538, allocations: 4 kB / 455.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.08538, allocations: 3.984 kB / 455.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.08539, allocations: 4 kB / 455.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.08539, allocations: 4 kB / 455.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.08539, allocations: 0 / 455.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.08553, allocations: 104.9 kB / 455.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.08553, allocations: 7.984 kB / 455.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.08554, allocations: 3.938 kB / 455.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/0.08558, allocations: 4 kB / 455.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.08561, allocations: 7.984 kB / 455.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.08562, allocations: 0 / 455.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.985e-05/0.08564, allocations: 83.28 kB / 455.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08564, allocations: 0 / 455.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000177/0.08581, allocations: 8 kB / 455.9 MB, free: 1.574 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 4.68e-05/0.08586, allocations: 87.44 kB / 456 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.08601, allocations: 51.83 kB / 456 MB, free: 1.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.08601, allocations: 4.125 kB / 456 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.08607, allocations: 19.98 kB / 456 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.0862, allocations: 7.938 kB / 456 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.08642, allocations: 111.4 kB / 456.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.08651, allocations: 0.6807 MB / 456.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.08652, allocations: 4 kB / 456.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.08655, allocations: 11.44 kB / 456.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08655, allocations: 0 / 456.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of Templates: time 0.002227/0.08877, allocations: 437.1 kB / 457.3 MB, free: 116 kB / 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.167439668206498] Failed to read output from testmodel.py, exit status != 0: 0.09614013717509806 0.11189221999999995 0.025937278999999938 Calling exit ...