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.0009134/0.0009134, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009811/0.0009811, allocations: 177 kB / 23.36 MB, free: 1.129 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.9023/0.9023, allocations: 158.6 MB / 185.2 MB, free: 2.75 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.006086/0.006086, allocations: 1.436 MB / 239 MB, free: 13.55 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.262e-06/1.262e-06, allocations: 0 / 256 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.083e-05/1.209e-05, allocations: 2.312 kB / 256 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001701/0.001713, allocations: 1.472 MB / 257.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001992/0.001912, allocations: 99.66 kB / 257.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.001941, allocations: 0 / 257.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.001961, allocations: 3.938 kB / 257.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.001997, allocations: 7.938 kB / 257.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.002116, allocations: 11.92 kB / 257.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.002165, allocations: 31.91 kB / 257.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.00222, allocations: 4 kB / 257.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.002258, allocations: 19.92 kB / 257.7 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.002297, allocations: 11.98 kB / 257.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.002311, allocations: 0 / 257.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.513e-06/0.002318, allocations: 4 kB / 257.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.002328, allocations: 0 / 257.7 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.00235, allocations: 11.94 kB / 257.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 5.77e-05/0.002407, allocations: 19.91 kB / 257.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002409, allocations: 0 / 257.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00241, allocations: 0 / 257.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.002412, allocations: 0 / 257.7 MB, free: 10.8 MB / 250.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.0002612/0.002674, allocations: 241 kB / 258 MB, free: 10.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.0027, allocations: 11.98 kB / 258 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.002721, allocations: 4.938 kB / 258 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.197e-05/0.002783, allocations: 117.7 kB / 258.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.002794, allocations: 384 / 258.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-06/0.0028, allocations: 4.375 kB / 258.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.499e-05/0.002875, allocations: 58.88 kB / 258.1 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-06/0.002879, allocations: 4.188 kB / 258.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.002884, allocations: 384 / 258.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.002888, allocations: 384 / 258.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.002907, allocations: 11.92 kB / 258.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.003053, allocations: 148.3 kB / 258.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.003103, allocations: 26.58 kB / 258.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.003116, allocations: 12.8 kB / 258.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-06/0.00312, allocations: 0 / 258.3 MB, free: 10.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.366e-05/0.003194, allocations: 63.47 kB / 258.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.003194, allocations: 0 / 258.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.76e-05/0.003272, allocations: 45.62 kB / 258.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.003303, allocations: 63.27 kB / 258.5 MB, free: 9.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.419e-05/0.003348, allocations: 106.7 kB / 258.6 MB, free: 9.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.003357, allocations: 29.7 kB / 258.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.003384, allocations: 84.12 kB / 258.7 MB, free: 9.648 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.003404, allocations: 11.94 kB / 258.7 MB, free: 9.637 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.003428, allocations: 17.72 kB / 258.8 MB, free: 9.613 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.003502, allocations: 314.8 kB / 259.1 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.003511, allocations: 4.25 kB / 259.1 MB, free: 9.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.00353, allocations: 26.56 kB / 259.1 MB, free: 9.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.003565, allocations: 34.5 kB / 259.1 MB, free: 9.215 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.003567, allocations: 0 / 259.1 MB, free: 9.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.115e-05/0.003618, allocations: 49.62 kB / 259.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.003628, allocations: 8 kB / 259.2 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.003632, allocations: 0 / 259.2 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.003643, allocations: 3.938 kB / 259.2 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.989e-05/0.003683, allocations: 12 kB / 259.2 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.003685, allocations: 0 / 259.2 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.003704, allocations: 7.984 kB / 259.2 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.003707, allocations: 0 / 259.2 MB, free: 9.129 MB / 250.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.923e-05/0.003757, allocations: 113.8 kB / 259.3 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.003763, allocations: 8.062 kB / 259.3 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.003782, allocations: 7.922 kB / 259.3 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.003787, allocations: 11.86 kB / 259.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.003788, allocations: 0 / 259.4 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.003792, allocations: 3.984 kB / 259.4 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.833e-05/0.00386, allocations: 73.84 kB / 259.4 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.003861, allocations: 0 / 259.4 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.003876, allocations: 7.984 kB / 259.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.003877, allocations: 0 / 259.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.003881, allocations: 0 / 259.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.003881, allocations: 4 kB / 259.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.003882, allocations: 4 kB / 259.4 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.177e-05/0.003944, allocations: 65.06 kB / 259.5 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.003949, allocations: 0 / 259.5 MB, free: 8.789 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.003957, allocations: 8 kB / 259.5 MB, free: 8.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.00397, allocations: 3.984 kB / 259.5 MB, free: 8.777 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.004001, allocations: 7.938 kB / 259.5 MB, free: 8.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.004004, allocations: 3.938 kB / 259.5 MB, free: 8.766 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.235e-05/0.004017, allocations: 20.91 kB / 259.5 MB, free: 8.742 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004017, allocations: 0 / 259.5 MB, free: 8.742 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.626e-05/0.004113, allocations: 4 kB / 259.6 MB, free: 8.738 MB / 250.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 5.913e-05/0.004172, allocations: 80.42 kB / 259.6 MB, free: 8.652 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.723e-05/0.004229, allocations: 24.83 kB / 259.7 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.004231, allocations: 0 / 259.7 MB, free: 8.625 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.004253, allocations: 12.8 kB / 259.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.933e-05/0.004313, allocations: 4 kB / 259.7 MB, free: 8.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001855/0.004498, allocations: 112.6 kB / 259.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.004525, allocations: 63.28 kB / 259.8 MB, free: 8.387 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.588e-05/0.004541, allocations: 4.125 kB / 259.8 MB, free: 8.383 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.004573, allocations: 51.38 kB / 259.9 MB, free: 8.332 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004574, allocations: 0 / 259.9 MB, free: 8.332 MB / 250.7 MB Notification: Performance of Templates: time 0.001605/0.006179, allocations: 429.7 kB / 260.3 MB, free: 7.914 MB / 250.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.2260837010107934]