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.001349/0.001349, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001466/0.001466, allocations: 161.9 kB / 22.46 MB, free: 5.371 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.369/1.369, allocations: 158.6 MB / 184.2 MB, free: 6.379 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.008297/0.008297, allocations: 1.432 MB / 237.9 MB, free: 1.707 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 353 MB, free: 19.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.363e-05, allocations: 6.219 kB / 353 MB, free: 19.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.001782/0.001805, allocations: 1.389 MB / 354.4 MB, free: 17.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.002024, allocations: 95.67 kB / 354.5 MB, free: 17.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.002064, allocations: 4 kB / 354.5 MB, free: 17.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.002085, allocations: 4 kB / 354.5 MB, free: 17.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.002125, allocations: 7.875 kB / 354.5 MB, free: 17.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.002264, allocations: 11.98 kB / 354.5 MB, free: 17.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.467e-05/0.002319, allocations: 19.94 kB / 354.5 MB, free: 17.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.219e-05/0.002391, allocations: 7.984 kB / 354.5 MB, free: 17.67 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.002426, allocations: 15.97 kB / 354.5 MB, free: 17.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.002473, allocations: 7.938 kB / 354.5 MB, free: 17.65 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.002489, allocations: 0 / 354.5 MB, free: 17.65 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.002498, allocations: 4 kB / 354.5 MB, free: 17.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.002514, allocations: 4 kB / 354.5 MB, free: 17.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.002541, allocations: 11.98 kB / 354.6 MB, free: 17.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.53e-05/0.002606, allocations: 35.78 kB / 354.6 MB, free: 17.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002609, allocations: 0 / 354.6 MB, free: 17.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00261, allocations: 0 / 354.6 MB, free: 17.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.002612, allocations: 0 / 354.6 MB, free: 17.59 MB / 286.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.0003532/0.002966, allocations: 262.3 kB / 354.8 MB, free: 17.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.002996, allocations: 11.98 kB / 354.9 MB, free: 17.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.003025, allocations: 4.938 kB / 354.9 MB, free: 17.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.172e-05/0.003076, allocations: 113.7 kB / 355 MB, free: 17.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.003095, allocations: 8.375 kB / 355 MB, free: 17.14 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.003103, allocations: 384 / 355 MB, free: 17.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003227, allocations: 50.23 kB / 355 MB, free: 17.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.003235, allocations: 192 / 355 MB, free: 17.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.003243, allocations: 384 / 355 MB, free: 17.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.003247, allocations: 384 / 355 MB, free: 17.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.003359, allocations: 35.84 kB / 355.1 MB, free: 17.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.003582, allocations: 200.5 kB / 355.3 MB, free: 16.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.003742, allocations: 58.58 kB / 355.3 MB, free: 16.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.0038, allocations: 21 kB / 355.3 MB, free: 16.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.003812, allocations: 0 / 355.3 MB, free: 16.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.003957, allocations: 71.33 kB / 355.4 MB, free: 16.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.003958, allocations: 0 / 355.4 MB, free: 16.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002858/0.004244, allocations: 97.56 kB / 355.5 MB, free: 16.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.004269, allocations: 59.41 kB / 355.6 MB, free: 16.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.146e-05/0.00431, allocations: 97.86 kB / 355.7 MB, free: 16.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.004319, allocations: 33.69 kB / 355.7 MB, free: 16.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.004339, allocations: 84.09 kB / 355.8 MB, free: 16.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.004356, allocations: 7.953 kB / 355.8 MB, free: 16.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.004385, allocations: 17.72 kB / 355.8 MB, free: 16.22 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.004426, allocations: 322.8 kB / 356.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.004483, allocations: 11.94 kB / 356.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.004541, allocations: 38.55 kB / 356.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.004647, allocations: 50.56 kB / 356.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.00465, allocations: 4 kB / 356.2 MB, free: 15.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001438/0.004793, allocations: 73.59 kB / 356.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004805, allocations: 7.938 kB / 356.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.004809, allocations: 0 / 356.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.004823, allocations: 4.062 kB / 356.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.004892, allocations: 15.92 kB / 356.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.004897, allocations: 4 kB / 356.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.004934, allocations: 11.95 kB / 356.3 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.004938, allocations: 0 / 356.3 MB, free: 15.66 MB / 286.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.504e-05/0.004983, allocations: 109.8 kB / 356.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.004992, allocations: 3.984 kB / 356.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.005016, allocations: 15.62 kB / 356.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005017, allocations: 0 / 356.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005021, allocations: 0 / 356.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005024, allocations: 4 kB / 356.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.114e-05/0.005095, allocations: 109.2 kB / 356.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.005097, allocations: 4 kB / 356.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.005135, allocations: 4 kB / 356.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.005136, allocations: 0 / 356.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.005143, allocations: 0 / 356.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005145, allocations: 3.938 kB / 356.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005146, allocations: 4.312 kB / 356.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.005304, allocations: 106.7 kB / 356.7 MB, free: 15.24 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.005311, allocations: 8 kB / 356.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.005325, allocations: 8 kB / 356.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.005364, allocations: 11.92 kB / 356.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.005396, allocations: 0 / 356.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.0054, allocations: 3.984 kB / 356.7 MB, free: 15.21 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.008e-05/0.00542, allocations: 79.28 kB / 356.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.00542, allocations: 4 kB / 356.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.005607, allocations: 8 kB / 356.8 MB, free: 15.12 MB / 286.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 5.643e-05/0.005663, allocations: 87.25 kB / 356.9 MB, free: 15.03 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.005824, allocations: 47.84 kB / 356.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.005825, allocations: 0 / 356.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.553e-05/0.005891, allocations: 23.98 kB / 357 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.006028, allocations: 4.453 kB / 357 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.006261, allocations: 132.7 kB / 357.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.006292, allocations: 63.34 kB / 357.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.006312, allocations: 4.125 kB / 357.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.006335, allocations: 12.5 kB / 357.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.006336, allocations: 0 / 357.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of Templates: time 0.002365/0.008701, allocations: 417.1 kB / 357.6 MB, free: 14.3 MB / 286.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 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.954599481076002] Failed to read output from testmodel.py, exit status != 0: 0.014913365244865417 0.024883743 0.020228411 Calling exit ...