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.001353/0.001353, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.001429/0.001429, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.345/1.345, allocations: 158.6 MB / 184.8 MB, free: 6.191 MB / 174.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.008162/0.008162, allocations: 1.436 MB / 238.5 MB, free: 1.688 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.002232/0.002232, allocations: 71.89 kB / 353.4 MB, free: 19.21 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08469, allocations: 49.68 MB / 403.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002542/0.08723, allocations: 1.37 MB / 404.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000292/0.08752, allocations: 95.69 kB / 404.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.08756, allocations: 8 kB / 404.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.08758, allocations: 0 / 404.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.08763, allocations: 3.938 kB / 404.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.08779, allocations: 15.92 kB / 404.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.08786, allocations: 23.92 kB / 404.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.08795, allocations: 11.92 kB / 404.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.08798, allocations: 15.92 kB / 404.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.08803, allocations: 11.88 kB / 404.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.08804, allocations: 0 / 404.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.08805, allocations: 4 kB / 404.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.08807, allocations: 11.98 kB / 404.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.08811, allocations: 7.938 kB / 404.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.996e-05/0.08819, allocations: 23.91 kB / 404.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08819, allocations: 0 / 404.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.08819, allocations: 4 kB / 404.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.0882, allocations: 0 / 404.7 MB, free: 15.77 MB / 334.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.0004835/0.08868, allocations: 266.3 kB / 404.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.08871, allocations: 11.98 kB / 405 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.08874, allocations: 0.9375 kB / 405 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.08885, allocations: 118.5 kB / 405.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.08888, allocations: 4.375 kB / 405.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.08889, allocations: 4.375 kB / 405.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.08904, allocations: 58.16 kB / 405.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.08904, allocations: 192 / 405.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.08905, allocations: 3.938 kB / 405.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.08906, allocations: 0 / 405.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.08918, allocations: 27.97 kB / 405.2 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.08948, allocations: 192.6 kB / 405.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.08966, allocations: 66.58 kB / 405.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.08972, allocations: 16.94 kB / 405.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.08973, allocations: 3.938 kB / 405.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.08991, allocations: 67.39 kB / 405.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.08992, allocations: 0 / 405.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000299/0.09021, allocations: 101.5 kB / 405.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.09026, allocations: 51.41 kB / 405.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.09033, allocations: 97.86 kB / 405.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.09035, allocations: 33.69 kB / 405.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.0904, allocations: 84.14 kB / 405.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.09041, allocations: 3.953 kB / 405.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.09045, allocations: 17.72 kB / 405.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.09058, allocations: 318.8 kB / 406.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.09064, allocations: 15.98 kB / 406.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.09071, allocations: 38.56 kB / 406.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.09084, allocations: 46.5 kB / 406.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09084, allocations: 3.938 kB / 406.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.09102, allocations: 85.48 kB / 406.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.09103, allocations: 8 kB / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.09104, allocations: 8.047 kB / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.09105, allocations: 0 / 406.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.09112, allocations: 15.92 kB / 406.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.09113, allocations: 0 / 406.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.09117, allocations: 4 kB / 406.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.09117, allocations: 4 kB / 406.4 MB, free: 13.83 MB / 334.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 8.659e-05/0.09126, allocations: 117.8 kB / 406.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.09127, allocations: 7.922 kB / 406.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.0913, allocations: 3.688 kB / 406.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.0913, allocations: 8.172 kB / 406.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.09131, allocations: 4 kB / 406.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.09131, allocations: 3.984 kB / 406.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.09143, allocations: 105.3 kB / 406.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09143, allocations: 384 / 406.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.09148, allocations: 15.94 kB / 406.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.09148, allocations: 0 / 406.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.09149, allocations: 4 kB / 406.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.09149, allocations: 0 / 406.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.09149, allocations: 3.984 kB / 406.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.09169, allocations: 101.1 kB / 406.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.0917, allocations: 3.938 kB / 406.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.09171, allocations: 7.984 kB / 406.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.09176, allocations: 4 kB / 406.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.09179, allocations: 4 kB / 406.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.09179, allocations: 3.984 kB / 406.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.09184, allocations: 83.22 kB / 406.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09184, allocations: 0 / 406.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.09203, allocations: 12 kB / 406.9 MB, free: 13.28 MB / 334.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 8.544e-05/0.09211, allocations: 91.25 kB / 407 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.09231, allocations: 35.97 kB / 407 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09231, allocations: 0 / 407 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.795e-05/0.09239, allocations: 27.92 kB / 407.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.09254, allocations: 3.984 kB / 407.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.09281, allocations: 123.2 kB / 407.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.09287, allocations: 63.34 kB / 407.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.22e-05/0.0929, allocations: 8.125 kB / 407.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.09292, allocations: 12.44 kB / 407.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.09292, allocations: 0 / 407.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of Templates: time 0.002462/0.09538, allocations: 420 kB / 407.7 MB, free: 12.46 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 -s ida -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.001182251959108] Failed to read output from testmodel.py, exit status != 0: 0.10255771304946393 0.11815060000000001 0.026912958 Calling exit ...