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.0008571/0.0008571, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008485/0.0008485, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8284/0.8284, allocations: 158.6 MB / 185 MB, free: 3 MB / 170.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.005874/0.005874, allocations: 1.424 MB / 238.7 MB, free: 13.92 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.894e-06/1.894e-06, allocations: 0 / 353.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.545e-05, allocations: 2.281 kB / 353.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001977/0.002003, allocations: 1.405 MB / 355.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002576/0.00226, allocations: 87.75 kB / 355.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.002304, allocations: 0 / 355.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.002335, allocations: 3.984 kB / 355.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.002379, allocations: 11.88 kB / 355.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.002545, allocations: 4 kB / 355.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.09e-05/0.002616, allocations: 23.92 kB / 355.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.002717, allocations: 15.92 kB / 355.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.002759, allocations: 11.98 kB / 355.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.00281, allocations: 15.92 kB / 355.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.002835, allocations: 0 / 355.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.507e-06/0.002845, allocations: 4 kB / 355.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.002867, allocations: 4 kB / 355.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.002899, allocations: 7.984 kB / 355.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.002983, allocations: 27.84 kB / 355.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002985, allocations: 4 kB / 355.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.002986, allocations: 0 / 355.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.00299, allocations: 0 / 355.3 MB, free: 13.76 MB / 282.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.0004034/0.003394, allocations: 266.3 kB / 355.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.003435, allocations: 11.98 kB / 355.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.003468, allocations: 0.9375 kB / 355.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.973e-05/0.003528, allocations: 117.7 kB / 355.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.003549, allocations: 384 / 355.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.003559, allocations: 4.375 kB / 355.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.003674, allocations: 50.23 kB / 355.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.003683, allocations: 192 / 355.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.003693, allocations: 384 / 355.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.003698, allocations: 4.312 kB / 355.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/0.003784, allocations: 35.91 kB / 355.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.00405, allocations: 194.5 kB / 356 MB, free: 13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.004181, allocations: 54.59 kB / 356.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.004229, allocations: 17 kB / 356.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.004241, allocations: 3.938 kB / 356.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.004385, allocations: 75.38 kB / 356.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.004386, allocations: 7.984 kB / 356.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002321/0.004618, allocations: 89.59 kB / 356.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.004647, allocations: 59.33 kB / 356.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.938e-05/0.004687, allocations: 101.9 kB / 356.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.004693, allocations: 25.7 kB / 356.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.004716, allocations: 92.03 kB / 356.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.004738, allocations: 11.94 kB / 356.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.004768, allocations: 17.72 kB / 356.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.004799, allocations: 318.8 kB / 356.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.004837, allocations: 15.98 kB / 356.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.00488, allocations: 34.56 kB / 356.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.064e-05/0.004961, allocations: 50.48 kB / 357 MB, free: 11.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004963, allocations: 0 / 357 MB, free: 11.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001115/0.005074, allocations: 81.59 kB / 357 MB, free: 11.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005087, allocations: 11.94 kB / 357 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005092, allocations: 0 / 357 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.005105, allocations: 0 / 357 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.005167, allocations: 8 kB / 357.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.005173, allocations: 3.984 kB / 357.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.005201, allocations: 7.953 kB / 357.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.005205, allocations: 4 kB / 357.1 MB, free: 11.83 MB / 282.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 4.638e-05/0.005252, allocations: 113.8 kB / 357.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.005259, allocations: 4.062 kB / 357.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.005285, allocations: 11.62 kB / 357.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.005288, allocations: 7.984 kB / 357.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.005292, allocations: 0 / 357.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005295, allocations: 0 / 357.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.032e-05/0.005366, allocations: 105.3 kB / 357.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.005368, allocations: 3.984 kB / 357.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.00539, allocations: 8 kB / 357.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005391, allocations: 3.938 kB / 357.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.005398, allocations: 0 / 357.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005399, allocations: 7.938 kB / 357.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.0054, allocations: 384 / 357.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.005522, allocations: 101 kB / 357.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.005528, allocations: 4 kB / 357.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.00554, allocations: 0 / 357.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.005565, allocations: 15.92 kB / 357.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.005601, allocations: 0 / 357.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.005606, allocations: 4 kB / 357.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.745e-05/0.005624, allocations: 87.2 kB / 357.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005624, allocations: 0 / 357.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001977/0.005822, allocations: 12 kB / 357.6 MB, free: 11.29 MB / 282.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.175e-05/0.005883, allocations: 91.25 kB / 357.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.006014, allocations: 44.12 kB / 357.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006016, allocations: 0 / 357.7 MB, free: 11.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.48e-05/0.00607, allocations: 23.98 kB / 357.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.006218, allocations: 0 / 357.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.006472, allocations: 166.7 kB / 357.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.006503, allocations: 63.34 kB / 357.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.00653, allocations: 16.48 kB / 357.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of SimCode: time 5.62e-07/0.00653, allocations: 0 / 357.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of Templates: time 0.001637/0.008167, allocations: 0.6131 MB / 358.6 MB, free: 10.22 MB / 282.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=480 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9739579809829593] Failed to read output from testmodel.py, exit status != 0: 0.012796325609087944 0.024652846000000003 0.019005741 Calling exit ...