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.0006684/0.0006684, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008719/0.00154, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006884/0.0006884, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009088/0.001597, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9434/0.9434, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.179/1.122, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.009873/0.009873, allocations: 1.428 MB / 222.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002934/0.01281, allocations: 0.9523 MB / 223.8 MB, free: 14.22 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.703e-06/1.703e-06, allocations: 0 / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.459e-05, allocations: 2.312 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002722/0.002747, allocations: 1.477 MB / 226.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.002894, allocations: 99.66 kB / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.002925, allocations: 0 / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.00295, allocations: 0 / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.645e-05/0.002977, allocations: 11.88 kB / 226.7 MB, free: 11.33 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.889e-05/0.003056, allocations: 15.92 kB / 226.7 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.003113, allocations: 23.94 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.003185, allocations: 7.984 kB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.003244, allocations: 15.97 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.003293, allocations: 7.938 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.003313, allocations: 4 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.003321, allocations: 0 / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.00334, allocations: 7.984 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.003366, allocations: 7.938 kB / 226.8 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.517e-05/0.003441, allocations: 16 kB / 226.8 MB, free: 11.22 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.003452, allocations: 0 / 226.8 MB, free: 11.22 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003452, allocations: 3.938 kB / 226.8 MB, free: 11.22 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.003466, allocations: 0 / 226.8 MB, free: 11.22 MB / 234.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.0003872/0.003853, allocations: 248.6 kB / 227 MB, free: 10.95 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.00389, allocations: 12.03 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.003918, allocations: 0.9375 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.575e-05/0.003994, allocations: 109.8 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.004011, allocations: 384 / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.004022, allocations: 8.375 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.004112, allocations: 50.95 kB / 227.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.004118, allocations: 192 / 227.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.004125, allocations: 4.375 kB / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00413, allocations: 384 / 227.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.004154, allocations: 15.86 kB / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.004332, allocations: 140.3 kB / 227.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.579e-05/0.004397, allocations: 30.59 kB / 227.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.00441, allocations: 4.859 kB / 227.4 MB, free: 10.52 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.004418, allocations: 7.938 kB / 227.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.107e-05/0.004509, allocations: 67.41 kB / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.00451, allocations: 0 / 227.5 MB, free: 10.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001008/0.00461, allocations: 45.62 kB / 227.5 MB, free: 10.38 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.004646, allocations: 59.39 kB / 227.6 MB, free: 10.31 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.338e-05/0.00469, allocations: 102.7 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.004699, allocations: 25.7 kB / 227.7 MB, free: 10.17 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.004726, allocations: 88.09 kB / 227.8 MB, free: 10.08 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.004748, allocations: 15.88 kB / 227.8 MB, free: 10.06 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.004773, allocations: 17.7 kB / 227.8 MB, free: 10.04 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.004849, allocations: 314.8 kB / 228.1 MB, free: 9.723 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-06/0.004857, allocations: 8 kB / 228.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.004878, allocations: 30.88 kB / 228.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.00491, allocations: 34.55 kB / 228.2 MB, free: 9.633 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004912, allocations: 0 / 228.2 MB, free: 9.633 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.076e-05/0.004962, allocations: 49.62 kB / 228.2 MB, free: 9.578 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.004972, allocations: 8 kB / 228.2 MB, free: 9.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004977, allocations: 0 / 228.2 MB, free: 9.57 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.004988, allocations: 3.938 kB / 228.2 MB, free: 9.566 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.005041, allocations: 16 kB / 228.3 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-06/0.005045, allocations: 4 kB / 228.3 MB, free: 9.547 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.005062, allocations: 3.984 kB / 228.3 MB, free: 9.543 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.005066, allocations: 4 kB / 228.3 MB, free: 9.539 MB / 234.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 5.232e-05/0.005119, allocations: 109.8 kB / 228.4 MB, free: 9.422 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-06/0.005125, allocations: 4 kB / 228.4 MB, free: 9.418 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.005146, allocations: 3.688 kB / 228.4 MB, free: 9.414 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.00515, allocations: 7.938 kB / 228.4 MB, free: 9.406 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005152, allocations: 0 / 228.4 MB, free: 9.406 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005155, allocations: 3.984 kB / 228.4 MB, free: 9.402 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.282e-05/0.005228, allocations: 69.91 kB / 228.5 MB, free: 9.316 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005229, allocations: 0 / 228.5 MB, free: 9.316 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.005247, allocations: 11.98 kB / 228.5 MB, free: 9.305 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.005253, allocations: 3.953 kB / 228.5 MB, free: 9.301 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005254, allocations: 0 / 228.5 MB, free: 9.301 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.005257, allocations: 0 / 228.5 MB, free: 9.301 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005258, allocations: 0 / 228.5 MB, free: 9.301 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.005259, allocations: 11.88 kB / 228.5 MB, free: 9.289 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.359e-05/0.005323, allocations: 69.05 kB / 228.6 MB, free: 9.203 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.005329, allocations: 0 / 228.6 MB, free: 9.203 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.464e-05/0.005344, allocations: 7.984 kB / 228.6 MB, free: 9.195 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.005369, allocations: 8.281 kB / 228.6 MB, free: 9.188 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.005374, allocations: 3.938 kB / 228.6 MB, free: 9.184 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.15e-05/0.005385, allocations: 12.84 kB / 228.6 MB, free: 9.168 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005385, allocations: 0 / 228.6 MB, free: 9.168 MB / 234.7 MB Notification: Performance of remove unused functions: time 9.281e-05/0.005478, allocations: 8 kB / 228.6 MB, free: 9.16 MB / 234.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 6.496e-05/0.005543, allocations: 68.42 kB / 228.7 MB, free: 9.086 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.864e-05/0.005612, allocations: 32.95 kB / 228.7 MB, free: 9.051 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.005618, allocations: 8 kB / 228.7 MB, free: 9.043 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.005644, allocations: 9.047 kB / 228.7 MB, free: 9.031 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.333e-05/0.005708, allocations: 16 kB / 228.7 MB, free: 9.016 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.006033, allocations: 128.4 kB / 228.9 MB, free: 8.863 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.006063, allocations: 55.36 kB / 228.9 MB, free: 8.789 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.638e-05/0.00608, allocations: 7.922 kB / 228.9 MB, free: 8.781 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.006122, allocations: 51.38 kB / 229 MB, free: 8.73 MB / 234.7 MB Notification: Performance of SimCode: time 7.82e-07/0.006123, allocations: 0 / 229 MB, free: 8.73 MB / 234.7 MB Notification: Performance of Templates: time 0.001733/0.007856, allocations: 431.8 kB / 229.4 MB, free: 8.312 MB / 234.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.3619319712743163]