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.0009353/0.0009353, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001236/0.002171, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009697/0.0009697, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.00216, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.7977/0.7977, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1246/0.9223, allocations: 49.49 MB / 220.5 MB, free: 1.445 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.005534/0.005534, allocations: 1.428 MB / 222.7 MB, free: 15.28 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.006762, allocations: 0.9443 MB / 223.6 MB, free: 14.33 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.323e-06/1.323e-06, allocations: 0 / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.191e-05, allocations: 2.312 kB / 224.9 MB, free: 13.06 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002183/0.002195, allocations: 1.471 MB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.002366, allocations: 95.67 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.002396, allocations: 0 / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.002419, allocations: 3.938 kB / 226.5 MB, free: 11.47 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.549e-05/0.002444, allocations: 7.938 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.216e-05/0.002526, allocations: 19.86 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.398e-05/0.00259, allocations: 27.92 kB / 226.5 MB, free: 11.42 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.578e-05/0.002666, allocations: 4 kB / 226.5 MB, free: 11.41 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.002734, allocations: 15.98 kB / 226.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.002791, allocations: 15.91 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.002813, allocations: 0 / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.002823, allocations: 4 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.002837, allocations: 0 / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.002868, allocations: 11.94 kB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.793e-05/0.002946, allocations: 15.98 kB / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.00296, allocations: 0 / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00296, allocations: 4 kB / 226.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.002976, allocations: 0 / 226.6 MB, free: 11.35 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.0004028/0.003379, allocations: 240.6 kB / 226.8 MB, free: 11.09 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.00341, allocations: 8.031 kB / 226.8 MB, free: 11.08 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.00344, allocations: 4.938 kB / 226.9 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.003521, allocations: 109.8 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.003541, allocations: 4.375 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.003548, allocations: 384 / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.714e-05/0.003645, allocations: 54.89 kB / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003653, allocations: 192 / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.003661, allocations: 8.375 kB / 227 MB, free: 10.87 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003667, allocations: 384 / 227 MB, free: 10.87 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.003695, allocations: 11.92 kB / 227 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.003891, allocations: 144.3 kB / 227.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.837e-05/0.00396, allocations: 22.58 kB / 227.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.003981, allocations: 12.8 kB / 227.2 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-06/0.003987, allocations: 4.078 kB / 227.2 MB, free: 10.65 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.004089, allocations: 59.38 kB / 227.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00409, allocations: 0 / 227.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.000114/0.004204, allocations: 53.61 kB / 227.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.004242, allocations: 59.34 kB / 227.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.124e-05/0.004294, allocations: 98.72 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.004306, allocations: 25.7 kB / 227.5 MB, free: 10.31 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.004337, allocations: 96.06 kB / 227.6 MB, free: 10.21 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.00436, allocations: 11.89 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.004391, allocations: 13.72 kB / 227.6 MB, free: 10.18 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.004476, allocations: 318.8 kB / 227.9 MB, free: 9.859 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.004486, allocations: 3.984 kB / 227.9 MB, free: 9.855 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.141e-05/0.004508, allocations: 26.58 kB / 228 MB, free: 9.82 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.004546, allocations: 43.05 kB / 228 MB, free: 9.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004548, allocations: 0 / 228 MB, free: 9.77 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.236e-05/0.004611, allocations: 49.62 kB / 228.1 MB, free: 9.715 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.004622, allocations: 4 kB / 228.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004626, allocations: 4 kB / 228.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.004637, allocations: 7.938 kB / 228.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.004691, allocations: 11.98 kB / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004694, allocations: 0 / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.004717, allocations: 8.062 kB / 228.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004721, allocations: 0 / 228.1 MB, free: 9.68 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.829e-05/0.004779, allocations: 113.8 kB / 228.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.004787, allocations: 0 / 228.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.004808, allocations: 11.67 kB / 228.2 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.00481, allocations: 3.938 kB / 228.2 MB, free: 9.547 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.004811, allocations: 3.938 kB / 228.2 MB, free: 9.543 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004815, allocations: 0 / 228.2 MB, free: 9.543 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/0.004895, allocations: 73.89 kB / 228.3 MB, free: 9.453 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004896, allocations: 0 / 228.3 MB, free: 9.453 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.004918, allocations: 7.984 kB / 228.3 MB, free: 9.445 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.004924, allocations: 7.953 kB / 228.3 MB, free: 9.438 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.004927, allocations: 4 kB / 228.3 MB, free: 9.434 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-06/0.004931, allocations: 0 / 228.3 MB, free: 9.434 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.004932, allocations: 0 / 228.3 MB, free: 9.434 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.004934, allocations: 7.875 kB / 228.3 MB, free: 9.426 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.004998, allocations: 61.12 kB / 228.4 MB, free: 9.348 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.005008, allocations: 3.984 kB / 228.4 MB, free: 9.344 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.00503, allocations: 4 kB / 228.4 MB, free: 9.34 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.005056, allocations: 4 kB / 228.4 MB, free: 9.336 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.005061, allocations: 7.938 kB / 228.4 MB, free: 9.328 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.79e-05/0.005079, allocations: 20.78 kB / 228.4 MB, free: 9.305 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005079, allocations: 0 / 228.4 MB, free: 9.305 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.005228, allocations: 4 kB / 228.4 MB, free: 9.301 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.328e-05/0.005291, allocations: 72.41 kB / 228.5 MB, free: 9.223 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.716e-05/0.005358, allocations: 24.84 kB / 228.5 MB, free: 9.195 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.005364, allocations: 4 kB / 228.5 MB, free: 9.191 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.499e-05/0.005389, allocations: 12.8 kB / 228.5 MB, free: 9.176 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.373e-05/0.005453, allocations: 4.188 kB / 228.5 MB, free: 9.172 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.005815, allocations: 132.5 kB / 228.7 MB, free: 9.016 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.758e-05/0.005843, allocations: 51.36 kB / 228.7 MB, free: 8.945 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.005863, allocations: 7.984 kB / 228.7 MB, free: 8.938 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.005899, allocations: 51.38 kB / 228.8 MB, free: 8.887 MB / 234.7 MB Notification: Performance of SimCode: time 4.91e-07/0.005899, allocations: 0 / 228.8 MB, free: 8.887 MB / 234.7 MB Notification: Performance of Templates: time 0.001965/0.007864, allocations: 433.6 kB / 229.2 MB, free: 8.465 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.151603332720697]