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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 111.7 kB / 18.88 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 201.4 kB / 22.17 MB, free: 5.195 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.383/1.383, allocations: 207.6 MB / 232.9 MB, free: 10.94 MB / 190.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.008646/0.008646, allocations: 1.958 MB / 287 MB, free: 4.094 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 67.89 kB / 402 MB, free: 51.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06779/0.06999, allocations: 49.66 MB / 451.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002021/0.07201, allocations: 1.405 MB / 453 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002169/0.07223, allocations: 95.72 kB / 453.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.081e-05/0.07227, allocations: 4 kB / 453.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.07229, allocations: 0 / 453.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.07233, allocations: 3.938 kB / 453.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.07247, allocations: 15.92 kB / 453.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.07252, allocations: 23.94 kB / 453.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.0726, allocations: 11.92 kB / 453.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.07263, allocations: 15.92 kB / 453.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.07268, allocations: 15.92 kB / 453.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.07269, allocations: 0 / 453.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.0727, allocations: 4 kB / 453.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.07272, allocations: 0 / 453.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.07275, allocations: 15.92 kB / 453.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.935e-05/0.07282, allocations: 19.86 kB / 453.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.07282, allocations: 4 kB / 453.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.07282, allocations: 0 / 453.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.07283, allocations: 4 kB / 453.2 MB, free: 4.488 MB / 318.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.0003781/0.07321, allocations: 339.5 kB / 453.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.07324, allocations: 15.89 kB / 453.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.07326, allocations: 0.9375 kB / 453.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.45e-05/0.07333, allocations: 172.3 kB / 453.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.07334, allocations: 4.375 kB / 453.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.07335, allocations: 4.312 kB / 453.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.07348, allocations: 50.25 kB / 453.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.07348, allocations: 192 / 453.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.07349, allocations: 3.938 kB / 453.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.0735, allocations: 3.984 kB / 453.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.07361, allocations: 27.98 kB / 453.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.07385, allocations: 249 kB / 454.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.07401, allocations: 66.42 kB / 454.2 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.07407, allocations: 17 kB / 454.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.07407, allocations: 0 / 454.2 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.07422, allocations: 71.38 kB / 454.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.07422, allocations: 4 kB / 454.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002603/0.07448, allocations: 89.55 kB / 454.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.0745, allocations: 55.41 kB / 454.4 MB, free: 3.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.123e-05/0.07454, allocations: 101.8 kB / 454.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.07456, allocations: 25.7 kB / 454.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.07459, allocations: 88.14 kB / 454.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.07461, allocations: 11.88 kB / 454.6 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.07463, allocations: 21.72 kB / 454.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.07467, allocations: 310.8 kB / 454.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.749e-05/0.07473, allocations: 19.98 kB / 455 MB, free: 2.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.07478, allocations: 30.56 kB / 455 MB, free: 2.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.07489, allocations: 62.66 kB / 455.1 MB, free: 2.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.07489, allocations: 3.938 kB / 455.1 MB, free: 2.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000143/0.07503, allocations: 81.55 kB / 455.1 MB, free: 2.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.07504, allocations: 4 kB / 455.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.07505, allocations: 3.938 kB / 455.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.07506, allocations: 4 kB / 455.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.777e-05/0.07513, allocations: 8.062 kB / 455.2 MB, free: 2.332 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.07513, allocations: 4 kB / 455.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.07517, allocations: 7.984 kB / 455.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.07517, allocations: 384 / 455.2 MB, free: 2.32 MB / 318.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 4.647e-05/0.07522, allocations: 125.7 kB / 455.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.07523, allocations: 0 / 455.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.07525, allocations: 11.5 kB / 455.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.07525, allocations: 0 / 455.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.07526, allocations: 4 kB / 455.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.07526, allocations: 7.984 kB / 455.3 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.081e-05/0.07534, allocations: 161.6 kB / 455.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.07534, allocations: 0 / 455.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.07538, allocations: 7.984 kB / 455.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.07539, allocations: 0 / 455.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.07539, allocations: 0 / 455.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.07539, allocations: 4 kB / 455.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.07539, allocations: 0 / 455.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.07555, allocations: 105 kB / 455.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.07557, allocations: 81.11 kB / 455.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.07558, allocations: 4 kB / 455.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.07562, allocations: 3.984 kB / 455.7 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.07565, allocations: 7.938 kB / 455.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.07566, allocations: 0 / 455.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.993e-05/0.07568, allocations: 83.28 kB / 455.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.07568, allocations: 0 / 455.8 MB, free: 1.625 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001892/0.07586, allocations: 15.94 kB / 455.8 MB, free: 1.609 MB / 318.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 4.806e-05/0.07591, allocations: 91.23 kB / 455.9 MB, free: 1.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.07607, allocations: 35.97 kB / 455.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.07608, allocations: 0 / 455.9 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-05/0.07614, allocations: 27.92 kB / 455.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.07628, allocations: 3.938 kB / 455.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.07652, allocations: 123.4 kB / 456.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.0766, allocations: 0.6806 MB / 456.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.07662, allocations: 4 kB / 456.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.07664, allocations: 11.42 kB / 456.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.07664, allocations: 0 / 456.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of Templates: time 0.002399/0.07904, allocations: 433.3 kB / 457.2 MB, free: 156 kB / 318.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 gbode -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.020726046059281] Failed to read output from testmodel.py, exit status != 0: 0.08642193302512169 0.102224725 0.026319099000000002 Calling exit ...