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.001554/0.001554, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001715/0.001715, allocations: 221.8 kB / 23 MB, free: 4.918 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.339/1.339, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 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.009153/0.009153, allocations: 1.97 MB / 288.1 MB, free: 3.684 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.002196/0.002196, allocations: 81.39 kB / 403 MB, free: 50.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0621/0.06429, allocations: 49.7 MB / 452.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001884/0.06618, allocations: 1.378 MB / 454.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.0664, allocations: 95.73 kB / 454.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.06644, allocations: 7.938 kB / 454.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.06646, allocations: 0 / 454.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.06649, allocations: 7.938 kB / 454.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.06663, allocations: 11.92 kB / 454.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.06668, allocations: 23.94 kB / 454.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.06677, allocations: 11.92 kB / 454.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.06679, allocations: 8 kB / 454.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.06683, allocations: 11.92 kB / 454.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.06685, allocations: 0 / 454.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.06686, allocations: 4 kB / 454.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.06688, allocations: 15.92 kB / 454.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.06691, allocations: 8 kB / 454.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.392e-05/0.06697, allocations: 19.91 kB / 454.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.06697, allocations: 0 / 454.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.06697, allocations: 0 / 454.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.06698, allocations: 0 / 454.3 MB, free: 3.969 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.0003677/0.06735, allocations: 266.3 kB / 454.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.06738, allocations: 15.98 kB / 454.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.0674, allocations: 0.9375 kB / 454.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.152e-05/0.06746, allocations: 110.5 kB / 454.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.06747, allocations: 8.312 kB / 454.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.06749, allocations: 4.375 kB / 454.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.06761, allocations: 50.23 kB / 454.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.06761, allocations: 192 / 454.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.06762, allocations: 11.88 kB / 454.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.06763, allocations: 0 / 454.8 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/0.06773, allocations: 23.97 kB / 454.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.06795, allocations: 200.6 kB / 455 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.0681, allocations: 58.48 kB / 455.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.06816, allocations: 25 kB / 455.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.06817, allocations: 3.938 kB / 455.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.06831, allocations: 67.38 kB / 455.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.06831, allocations: 3.984 kB / 455.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002487/0.06856, allocations: 93.55 kB / 455.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.06858, allocations: 55.41 kB / 455.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.531e-05/0.06862, allocations: 101.8 kB / 455.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.06862, allocations: 25.7 kB / 455.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.06864, allocations: 88.14 kB / 455.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.06866, allocations: 7.938 kB / 455.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.06869, allocations: 25.64 kB / 455.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.06872, allocations: 318.8 kB / 455.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.06877, allocations: 11.98 kB / 455.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.227e-05/0.06883, allocations: 38.56 kB / 455.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.06892, allocations: 50.48 kB / 456 MB, free: 2.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.06893, allocations: 0 / 456 MB, free: 2.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001318/0.06906, allocations: 81.5 kB / 456 MB, free: 2.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.06907, allocations: 8 kB / 456 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.06907, allocations: 4.062 kB / 456 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.06908, allocations: 0 / 456 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.06915, allocations: 11.98 kB / 456.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.06915, allocations: 0 / 456.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.06918, allocations: 7.984 kB / 456.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.06919, allocations: 4 kB / 456.1 MB, free: 2.027 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.87e-05/0.06924, allocations: 117.7 kB / 456.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.06925, allocations: 7.938 kB / 456.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.06927, allocations: 7.688 kB / 456.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.06927, allocations: 0 / 456.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.06927, allocations: 4 kB / 456.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.06927, allocations: 4 kB / 456.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.361e-05/0.06934, allocations: 109.2 kB / 456.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.06934, allocations: 0 / 456.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.06938, allocations: 15.92 kB / 456.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.06938, allocations: 0 / 456.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.06938, allocations: 0 / 456.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.06939, allocations: 384 / 456.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.06939, allocations: 0 / 456.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.06953, allocations: 105 kB / 456.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-06/0.06954, allocations: 7.938 kB / 456.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.06955, allocations: 11.94 kB / 456.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.06959, allocations: 0 / 456.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.06962, allocations: 7.984 kB / 456.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.06962, allocations: 0 / 456.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.932e-05/0.06964, allocations: 83.28 kB / 456.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.06964, allocations: 0 / 456.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.06982, allocations: 8 kB / 456.6 MB, free: 1.48 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.564e-05/0.06987, allocations: 91.23 kB / 456.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.07002, allocations: 48.12 kB / 456.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.07002, allocations: 0 / 456.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.07009, allocations: 19.98 kB / 456.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.07021, allocations: 4.188 kB / 456.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.07043, allocations: 143.3 kB / 456.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.615e-05/0.07046, allocations: 67.33 kB / 456.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.07048, allocations: 11.56 kB / 456.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.07048, allocations: 4 kB / 456.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of Templates: time 0.001599/0.07208, allocations: 0.6147 MB / 457.5 MB, free: 432 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: 6.115781942848116] Failed to read output from testmodel.py, exit status != 0: 0.07875120732933283 0.093650808 0.023692118 Calling exit ...